void-packages/srcpkgs/libtirpc/template

31 lines
857 B
Bash

# Template file for 'libtirpc'
pkgname=libtirpc
version=0.2.5
revision=1
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=62f9de7c2c8686c568757730e1fef66502a0e00d6cacf33546d0267984e002db
post_install() {
vconf ${wrksrc}/doc/netconfig
}
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"
}
}