void-packages/srcpkgs/libtirpc/template
2017-11-07 13:17:08 +01:00

35 lines
914 B
Bash

# Template file for 'libtirpc'
pkgname=libtirpc
version=1.0.2
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config mit-krb5-devel automake libtool"
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=723c5ce92706cbb601a8db09110df1b4b69391643158f20ff587e20e7c5f90f5
pre_configure() {
autoreconf -fi
}
post_install() {
vconf ${wrksrc}/doc/netconfig
vlicense COPYING
}
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
}
}