void-packages/srcpkgs/rpcbind/template

32 lines
1.0 KiB
Plaintext
Raw Normal View History

2012-01-28 16:23:06 +01:00
# Template file for 'rpcbind'
pkgname=rpcbind
2013-08-20 14:33:50 +02:00
version=0.2.1
revision=1
2012-01-28 16:23:06 +01:00
build_style=gnu-configure
2013-08-20 14:33:50 +02:00
configure_args="--enable-warmstarts --with-statedir=/run --with-rpcuser=rpc"
hostmakedepends="pkg-config"
makedepends="libtirpc-devel shadow"
depends="shadow"
systemd_services="${pkgname}.service on"
system_accounts="rpc"
2012-01-28 16:23:06 +01:00
short_desc="Converts RPC program numbers into universal addresses"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://rpcbind.sourceforge.net"
2013-03-31 10:15:55 +02:00
license="BSD"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
2013-08-20 14:33:50 +02:00
checksum=da169ff877a5a07581fad50a9a808ac6e96f0c277a3df49a7ef005778428496e
2012-01-28 16:23:06 +01:00
long_desc="
The rpcbind utility is a server that converts RPC program numbers into
universal address. It must be running on the host to be able to make
RPC calls on a server on that machine."
2013-05-06 11:29:29 +02:00
if [ "$CROSS_BUILD" ]; then
2013-08-20 14:33:50 +02:00
hostmakedepends+=" libtirpc-devel"
2013-05-06 11:29:29 +02:00
fi
2012-01-28 16:23:06 +01:00
post_install() {
vinstall man/rpcbind.8 644 usr/share/man/man8
vinstall man/rpcinfo.8 644 usr/share/man/man8
2013-08-20 14:33:50 +02:00
vinstall ${FILESDIR}/${pkgname}.service 644 usr/lib/systemd/system
2012-01-28 16:23:06 +01:00
}