void-packages/srcpkgs/libtirpc/template
2015-05-07 09:46:15 +02:00

30 lines
844 B
Bash

# Template file for 'libtirpc'
pkgname=libtirpc
version=0.3.0
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=cafe59d561145b384bffd34d6614e9fe4c1d9157c30d2b6b022a0ef71de5a11d
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/*.a
vmove usr/lib/*.so
}
}