void-packages/srcpkgs/libnfs/template

28 lines
731 B
Bash

# Template file for 'libnfs'
pkgname=libnfs
version=5.0.3
revision=1
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=d945cb4f4c8f82ee1f3640893a168810f794a28e1010bb007ec5add345e9df3e
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"
}
}