void-packages/srcpkgs/libnfs/template

29 lines
755 B
Text
Raw Normal View History

2013-01-29 23:30:07 +00:00
# Template file for 'libnfs'
pkgname=libnfs
2014-12-07 17:39:09 +00:00
version=1.9.6
2013-11-26 08:38:19 +00:00
revision=1
wrksrc="${pkgname}-${pkgname}-${version}"
2013-01-29 23:30:07 +00:00
build_style=gnu-configure
2013-04-16 09:44:16 +00:00
hostmakedepends="libtool pkg-config automake"
2013-01-29 23:30:07 +00:00
short_desc="Client library for accessing NFS shares"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="https://github.com/sahlberg/libnfs"
license="GPL-2"
2013-11-26 08:38:19 +00:00
distfiles="https://github.com/sahlberg/libnfs/archive/$pkgname-${version}.tar.gz"
2014-12-07 17:39:09 +00:00
checksum=75f49d967e9032e0ee4757f970f87c274c3503c968caba2be8a37df63d965f32
2013-01-29 23:30:07 +00:00
pre_configure() {
autoreconf -fi
}
libnfs-devel_package() {
2013-11-26 08:38:19 +00:00
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2013-11-26 08:38:19 +00:00
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}