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
|
2014-10-13 17:05:56 +02:00
|
|
|
revision=4
|
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"
|
2014-08-21 09:33:55 +02:00
|
|
|
hostmakedepends="pkg-config"
|
2014-02-17 10:40:48 +01:00
|
|
|
makedepends="libtirpc-devel"
|
2012-01-28 16:23:06 +01:00
|
|
|
short_desc="Converts RPC program numbers into universal addresses"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-07-09 11:47:41 +02:00
|
|
|
homepage="http://rpcbind.sourceforge.net"
|
2013-03-31 10:15:55 +02:00
|
|
|
license="BSD"
|
2012-07-09 11:47:41 +02:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
|
2013-08-20 14:33:50 +02:00
|
|
|
checksum=da169ff877a5a07581fad50a9a808ac6e96f0c277a3df49a7ef005778428496e
|
2013-05-06 11:29:29 +02:00
|
|
|
|
2014-08-21 09:33:55 +02:00
|
|
|
build_options="systemd"
|
2014-10-13 17:05:56 +02:00
|
|
|
system_accounts="rpc"
|
|
|
|
replaces="runit-void<20141013_2"
|
2014-08-21 09:33:55 +02:00
|
|
|
|
2012-01-28 16:23:06 +01:00
|
|
|
post_install() {
|
2014-10-13 17:05:56 +02:00
|
|
|
vsv rpcbind
|
2012-01-28 16:23:06 +01:00
|
|
|
vinstall man/rpcbind.8 644 usr/share/man/man8
|
|
|
|
vinstall man/rpcinfo.8 644 usr/share/man/man8
|
2014-08-21 09:33:55 +02:00
|
|
|
if [ "$build_option_systemd" ]; then
|
|
|
|
vinstall ${FILESDIR}/${pkgname}.service 644 usr/lib/systemd/system
|
|
|
|
fi
|
2012-01-28 16:23:06 +01:00
|
|
|
}
|