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
|
2013-04-13 10:15:49 +02:00
|
|
|
revision=2
|
2012-01-28 16:13:00 +01:00
|
|
|
build_style=gnu-configure
|
2013-02-07 05:23:13 +01:00
|
|
|
configure_args="--enable-gss --disable-static"
|
2013-03-29 20:35:37 +01:00
|
|
|
hostmakedepends="automake libtool pkg-config"
|
2013-03-24 10:21:58 +01:00
|
|
|
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"
|
2013-02-07 05:23:13 +01:00
|
|
|
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() {
|
2013-02-07 05:23:13 +01:00
|
|
|
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
|
|
|
|
}
|
2013-04-13 10:15:49 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|