void-packages/srcpkgs/libnfs/template

29 lines
755 B
Plaintext
Raw Normal View History

2013-01-30 00:30:07 +01:00
# Template file for 'libnfs'
pkgname=libnfs
2014-12-07 18:39:09 +01:00
version=1.9.6
2013-11-26 09:38:19 +01:00
revision=1
wrksrc="${pkgname}-${pkgname}-${version}"
2013-01-30 00:30:07 +01:00
build_style=gnu-configure
2013-04-16 11:44:16 +02:00
hostmakedepends="libtool pkg-config automake"
2013-01-30 00:30:07 +01: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 09:38:19 +01:00
distfiles="https://github.com/sahlberg/libnfs/archive/$pkgname-${version}.tar.gz"
2014-12-07 18:39:09 +01:00
checksum=75f49d967e9032e0ee4757f970f87c274c3503c968caba2be8a37df63d965f32
2013-01-30 00:30:07 +01:00
pre_configure() {
autoreconf -fi
}
libnfs-devel_package() {
2013-11-26 09:38:19 +01:00
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2013-11-26 09:38:19 +01:00
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}