void-packages/srcpkgs/libnfs/template

29 lines
773 B
Bash

# Template file for 'libnfs'
pkgname=libnfs
version=5.0.1
revision=1
wrksrc="${pkgname}-${pkgname}-${version}"
build_style=gnu-configure
hostmakedepends="libtool pkg-config automake"
short_desc="Client library for accessing NFS shares"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://github.com/sahlberg/libnfs"
distfiles="https://github.com/sahlberg/libnfs/archive/${pkgname}-${version}.tar.gz"
checksum=7ef445410b42f36b9bad426608b53ccb9ccca4101e545c383f564c11db672ca8
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"
}
}