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-11-04 11:09:46 +00:00
version=1.9.5
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-11-04 11:09:46 +00:00
checksum=dd99ffa02a3d9fc936976e199614e0d0e2516bd27ead5639c063b8504008a393
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"
}
}