void-packages/srcpkgs/libtirpc/template
2015-06-03 19:05:41 +02:00

30 lines
842 B
Bash

# Template file for 'libtirpc'
pkgname=libtirpc
version=0.3.1
revision=1
build_style=gnu-configure
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@voidlinux.eu>"
license="BSD"
homepage="http://libtirpc.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
checksum=a8838fe180deb8a6f6e491ee665325a28dee4100ec6b1f0b86d611dbfe3a2bb8
post_install() {
vconf ${wrksrc}/doc/netconfig
}
libtirpc-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/man/man3
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}