mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
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:
parent
f5ae663426
commit
60671c0320
2 changed files with 16 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'nfs-utils'
|
# Template file for 'nfs-utils'
|
||||||
pkgname=nfs-utils
|
pkgname=nfs-utils
|
||||||
version=1.3.3
|
version=1.3.3
|
||||||
revision=3
|
revision=4
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-statduser=nobody --enable-gss --enable-nfsv4
|
configure_args="--with-statduser=nobody --enable-gss --enable-nfsv4
|
||||||
--with-statedir=/var/lib/nfs --enable-libmount-mount --enable-gss
|
--with-statedir=/var/lib/nfs --enable-libmount-mount --enable-gss
|
||||||
|
@ -50,3 +50,17 @@ post_install() {
|
||||||
|
|
||||||
rm -rf ${DESTDIR}/var/lib/nfs
|
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
1
srcpkgs/rpcgen
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
nfs-utils
|
Loading…
Add table
Reference in a new issue