28 lines
772 B
Bash
28 lines
772 B
Bash
# Template file for 'libnfs'
|
|
pkgname=libnfs
|
|
version=3.0.0
|
|
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>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://github.com/sahlberg/libnfs"
|
|
distfiles="https://github.com/sahlberg/libnfs/archive/${pkgname}-${version}.tar.gz"
|
|
checksum=445d92c5fc55e4a5b115e358e60486cf8f87ee50e0103d46a02e7fb4618566a5
|
|
|
|
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"
|
|
}
|
|
}
|