void-packages/srcpkgs/libnfs/template
2015-03-14 10:47:52 +01:00

28 lines
755 B
Text

# Template file for 'libnfs'
pkgname=libnfs
version=1.9.7
revision=1
wrksrc="${pkgname}-${pkgname}-${version}"
build_style=gnu-configure
hostmakedepends="libtool pkg-config automake"
short_desc="Client library for accessing NFS shares"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="https://github.com/sahlberg/libnfs"
license="GPL-2"
distfiles="https://github.com/sahlberg/libnfs/archive/$pkgname-${version}.tar.gz"
checksum=7c2e088f5fd85b791ab644a5221b717894208bc5fb8b8a5a49633802ecaa0990
pre_configure() {
autoreconf -fi
}
libnfs-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}