nfs-utils: create a rpcgen subpkg required by autofs.

rpcgen is provided by glibc, but we still need this for musl.
This commit is contained in:
Juan RP 2016-01-10 09:55:53 +01:00
parent f5ae663426
commit 60671c0320
2 changed files with 16 additions and 1 deletions

View file

@ -1,7 +1,7 @@
# Template file for 'nfs-utils'
pkgname=nfs-utils
version=1.3.3
revision=3
revision=4
build_style=gnu-configure
configure_args="--with-statduser=nobody --enable-gss --enable-nfsv4
--with-statedir=/var/lib/nfs --enable-libmount-mount --enable-gss
@ -50,3 +50,17 @@ post_install() {
rm -rf ${DESTDIR}/var/lib/nfs
}
rpcgen_package() {
short_desc="A RPC protocol compiler"
pkg_install() {
case "$XBPS_TARGET_MACHINE" in
*-musl)
cd ${wrksrc}/tools/rpcgen
make clean
make CC_FOR_BUILD="$CC"
vbin ${wrksrc}/tools/rpcgen/rpcgen
;;
esac
}
}

1
srcpkgs/rpcgen Symbolic link
View file

@ -0,0 +1 @@
nfs-utils