void-packages/srcpkgs/libtirpc/template

42 lines
1013 B
Plaintext
Raw Normal View History

2012-01-28 16:13:00 +01:00
# Template file for 'libtirpc'
pkgname=libtirpc
2013-03-29 20:35:37 +01:00
version=0.2.3
revision=2
2012-01-28 16:13:00 +01:00
build_style=gnu-configure
configure_args="--enable-gss --disable-static"
2013-03-29 20:35:37 +01:00
hostmakedepends="automake libtool pkg-config"
makedepends="libgssglue-devel"
2012-01-28 16:13:00 +01:00
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"
2013-03-29 20:35:37 +01:00
checksum=4f29ea0491b4ca4c29f95f3c34191b857757873bbbf4b069f9dd4da01a6a923c
2012-01-28 16:13:00 +01:00
pre_configure() {
sed -i "s|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g" configure.ac
2012-01-28 16:13:00 +01:00
autoreconf -fi
}
post_install() {
vinstall doc/etc_netconfig 644 etc netconfig
}
libtirpc-devel_package() {
depends="libgssglue-devel libtirpc>=${version}"
short_desc="${short_desc} - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/man/man3
}
}
libtirpc_package() {
conf_files="/etc/netconfig"
pkg_install() {
vmove etc
vmove usr
}
}