void-packages/srcpkgs/rpcbind/template

25 lines
796 B
Plaintext

# Template file for 'rpcbind'
pkgname=rpcbind
version=0.2.2
revision=1
build_style=gnu-configure
configure_args="--enable-warmstarts --with-statedir=/run --with-rpcuser=rpc
$(vopt_if systemd '--with-systemsystemunitdir=/usr/lib/systemd/system' '--with-systemdsystemunitdir=no')"
hostmakedepends="pkg-config"
makedepends="libtirpc-devel $(vopt_if systemd systemd-devel)"
short_desc="Converts RPC program numbers into universal addresses"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://rpcbind.sourceforge.net"
license="BSD"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
checksum=13dbc8c796dbe0ce8df873007bea0490c8460b56202d918c9eb6fa0358a08f29
build_options="systemd"
system_accounts="rpc"
post_install() {
vsv rpcbind
vman man/rpcbind.8
vman man/rpcinfo.8
}