void-packages/srcpkgs/rpcbind/template

26 lines
813 B
Bash

# Template file for 'rpcbind'
pkgname=rpcbind
version=0.2.3
revision=2
build_pie=yes
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@voidlinux.eu>"
homepage="http://rpcbind.sourceforge.net"
license="BSD"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
checksum=9897823a9d820ea011d9ea02054d5ab99469b9ca5346265fee380713c8fed27b
build_options="systemd"
system_accounts="rpc"
post_install() {
vsv rpcbind
vman man/rpcbind.8
vman man/rpcinfo.8
}