37 lines
985 B
Bash
37 lines
985 B
Bash
# Template file for 'libnfsidmap'
|
|
pkgname=libnfsidmap
|
|
version=0.26
|
|
revision=3
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static"
|
|
hostmakedepends="automake libtool"
|
|
makedepends="libldap-devel"
|
|
short_desc="Library to help mapping IDs, mainly for NFSv4"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="BSD-3-Clause"
|
|
homepage="http://www.citi.umich.edu/projects/nfsv4/linux/"
|
|
distfiles="https://fedorapeople.org/~steved/${pkgname}/${version}/${pkgname}-${version}.tar.bz2"
|
|
checksum=391cd35a8aa48bcba1678b483c3e2525d0990eca963bb035962fcf1e3ee2a8bf
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|
|
|
|
pre_configure() {
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*-musl) sed -i 's,u_int,uint,g;s,u_char,unsigned char,g' *.[ch];;
|
|
esac
|
|
autoreconf -fi
|
|
}
|
|
|
|
libnfsidmap-devel_package() {
|
|
depends="libldap-devel ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/share/man/man3
|
|
}
|
|
}
|