void-packages/srcpkgs/libtirpc/template

27 lines
763 B
Plaintext

# Template file for 'libtirpc'
pkgname=libtirpc
version=0.2.2
revision=2
patch_args="-Np1"
conf_files="/etc/netconfig"
subpackages="$pkgname-devel"
build_style=gnu-configure
configure_args="--enable-gss --disable-static"
hostmakedepends="automake pkg-config"
makedepends="libgssglue-devel"
short_desc="Transport Independent RPC library (SunRPC replacement)"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"
homepage="http://libtirpc.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
checksum=f05eb17c85d62423858b8f74512cfe66a9ae1cedf93f03c2a0a32e04f0a33705
pre_configure() {
sed -i "s|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g" configure.ac
autoreconf -fi
}
post_install() {
vinstall doc/etc_netconfig 644 etc netconfig
}