# Template file for 'rpcbind'
pkgname=rpcbind
version=1.2.8
revision=1
build_style=gnu-configure
configure_args="--enable-warmstarts --with-statedir=/run --with-rpcuser=rpc
 --with-systemdsystemunitdir=no"
hostmakedepends="pkg-config"
makedepends="libtirpc-devel"
short_desc="Converts RPC program numbers into universal addresses"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://rpcbind.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=964132c389918e8964d7334936b6dd10ef025b300c6b29e693ba0f29550e3de5
system_accounts="rpc"

post_install() {
	vlicense COPYING
	vsv rpcbind
	vman man/rpcbind.8
	vman man/rpcinfo.8
}
