vp-build/srcpkgs/libnfs/template
2014-12-07 18:39:09 +01:00

29 lines
755 B
Plaintext

# Template file for 'libnfs'
pkgname=libnfs
version=1.9.6
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=75f49d967e9032e0ee4757f970f87c274c3503c968caba2be8a37df63d965f32
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"
}
}