void-packages/srcpkgs/libtirpc/template

41 lines
1,013 B
Text

# Template file for 'libtirpc'
pkgname=libtirpc
version=0.2.3
revision=2
build_style=gnu-configure
configure_args="--enable-gss --disable-static"
hostmakedepends="automake libtool 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=4f29ea0491b4ca4c29f95f3c34191b857757873bbbf4b069f9dd4da01a6a923c
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
}
libtirpc-devel_package() {
depends="libgssglue-devel libtirpc>=${version}"
short_desc="${short_desc} - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/man/man3
}
}
libtirpc_package() {
conf_files="/etc/netconfig"
pkg_install() {
vmove etc
vmove usr
}
}