2012-01-28 15:13:00 +00:00
|
|
|
# Template file for 'libtirpc'
|
|
|
|
pkgname=libtirpc
|
2013-03-29 19:35:37 +00:00
|
|
|
version=0.2.3
|
2013-04-13 08:15:49 +00:00
|
|
|
revision=2
|
2013-02-07 04:23:13 +00:00
|
|
|
subpackages="$pkgname-devel"
|
2012-01-28 15:13:00 +00:00
|
|
|
build_style=gnu-configure
|
2013-02-07 04:23:13 +00:00
|
|
|
configure_args="--enable-gss --disable-static"
|
2013-03-29 19:35:37 +00:00
|
|
|
hostmakedepends="automake libtool pkg-config"
|
2013-03-24 09:21:58 +00:00
|
|
|
makedepends="libgssglue-devel"
|
2012-01-28 15:13:00 +00:00
|
|
|
short_desc="Transport Independent RPC library (SunRPC replacement)"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="BSD"
|
2013-02-07 04:23:13 +00:00
|
|
|
homepage="http://libtirpc.sourceforge.net/"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
|
2013-03-29 19:35:37 +00:00
|
|
|
checksum=4f29ea0491b4ca4c29f95f3c34191b857757873bbbf4b069f9dd4da01a6a923c
|
2012-01-28 15:13:00 +00:00
|
|
|
|
|
|
|
pre_configure() {
|
2013-02-07 04:23:13 +00:00
|
|
|
sed -i "s|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g" configure.ac
|
2012-01-28 15:13:00 +00:00
|
|
|
autoreconf -fi
|
|
|
|
}
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vinstall doc/etc_netconfig 644 etc netconfig
|
|
|
|
}
|
2013-04-13 08:15:49 +00: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
|
|
|
|
}
|
|
|
|
}
|