rpcbind: cross build support.
This commit is contained in:
parent
b581e906c9
commit
c784fa79dd
@ -1,7 +1,7 @@
|
|||||||
# Template file for 'rpcbind'
|
# Template file for 'rpcbind'
|
||||||
pkgname=rpcbind
|
pkgname=rpcbind
|
||||||
version=0.2.0
|
version=0.2.0
|
||||||
revision=5
|
revision=6
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-warmstarts --with-statedir=/var/lib/rpcbind
|
configure_args="--enable-warmstarts --with-statedir=/var/lib/rpcbind
|
||||||
--with-rpcuser=rpc"
|
--with-rpcuser=rpc"
|
||||||
@ -17,6 +17,10 @@ long_desc="
|
|||||||
universal address. It must be running on the host to be able to make
|
universal address. It must be running on the host to be able to make
|
||||||
RPC calls on a server on that machine."
|
RPC calls on a server on that machine."
|
||||||
|
|
||||||
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
hostmakedepends="libtirpc-devel"
|
||||||
|
fi
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vinstall man/rpcbind.8 644 usr/share/man/man8
|
vinstall man/rpcbind.8 644 usr/share/man/man8
|
||||||
vinstall man/rpcinfo.8 644 usr/share/man/man8
|
vinstall man/rpcinfo.8 644 usr/share/man/man8
|
||||||
@ -32,6 +36,6 @@ rpcbind_package() {
|
|||||||
rpc_homedir="/var/lib/rpcbind"
|
rpc_homedir="/var/lib/rpcbind"
|
||||||
make_dirs="/var/lib/rpcbind 0700 rpc rpc"
|
make_dirs="/var/lib/rpcbind 0700 rpc rpc"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr
|
vmove all
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user