28 lines
758 B
Bash
28 lines
758 B
Bash
# Template file for 'libnfs'
|
|
pkgname=libnfs
|
|
version=1.9.8
|
|
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@voidlinux.eu>"
|
|
homepage="https://github.com/sahlberg/libnfs"
|
|
license="GPL-2"
|
|
distfiles="https://github.com/sahlberg/libnfs/archive/$pkgname-${version}.tar.gz"
|
|
checksum=e95af693e763a504eee72dacf3dc6c1001d83e40b807e7e1d0be2eaf48af779c
|
|
|
|
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"
|
|
}
|
|
}
|