void-packages/srcpkgs/libtirpc/template
2013-12-28 17:54:03 +01:00

33 lines
875 B
Text

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