void-packages/srcpkgs/libtirpc/template

31 lines
868 B
Plaintext

# Template file for 'libtirpc'
pkgname=libtirpc
version=0.2.4
revision=2
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config mit-krb5-devel"
makedepends="mit-krb5-devel libgssglue-devel"
conf_files="/etc/netconfig"
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=45c3e21dfc23a5ba501f9dfc6671678316fdfdb8355a1ec404ae2aa2f81943a1
post_install() {
vinstall ${wrksrc}/doc/netconfig 644 etc
}
libtirpc-devel_package() {
depends="libgssglue-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/man/man3
vmove "usr/lib/*.so"
}
}