libtirpc: disable static; cross build support.

This commit is contained in:
Juan RP 2013-02-07 05:23:13 +01:00
parent 45f4439eef
commit c575148928
2 changed files with 17 additions and 24 deletions

View File

@ -1,15 +1,11 @@
# Template file for 'libtirpc-devel'.
#
depends="libgssglue-devel libtirpc"
depends="libgssglue-devel libtirpc>=${version}"
short_desc="${short_desc} - development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
noarch=yes
do_install() {
vmove usr/include usr
vmove usr/lib/pkgconfig usr/lib
vmove "usr/lib/*.a" usr/lib
vmove usr/share/man/man3 usr/share/man
}

View File

@ -1,34 +1,31 @@
# Template file for 'libtirpc'
pkgname=libtirpc
version=0.2.2
revision=2
patch_args="-Np1"
homepage="http://libtirpc.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
conf_files="/etc/netconfig"
subpackages="$pkgname-devel"
build_style=gnu-configure
configure_args="--enable-gss"
configure_args="--enable-gss --disable-static"
makedepends="automake pkg-config libgssglue-devel"
revision=1
crossmakedepends="libgssglue-devel"
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"
checksum=f05eb17c85d62423858b8f74512cfe66a9ae1cedf93f03c2a0a32e04f0a33705
long_desc="
This package contains SunLib's implementation of transport-independent
RPC (TI-RPC) documentation. This library forms a piece of the base of Open Network
Computing (ONC), and is derived directly from the Solaris 2.3 source.
TI-RPC is an enhanced version of TS-RPC that requires the UNIX System V
Transport Layer Interface (TLI) or an equivalent X/Open Transport Interface
(XTI). TI-RPC is on-the-wire compatible with the TS-RPC, which is supported
by almost 70 vendors on all major operating systems. TS-RPC source code
(RPCSRC 4.0) remains available from several internet sites."
conf_files="/etc/netconfig"
subpackages="$pkgname-devel"
pre_configure() {
sed -i "s|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g" configure.ac
autoreconf -fi
# XXX fix cross pkg to provide these headers.
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
for f in nis nis_tags nislib; do
ln -fs /usr/include/rpcsvc/${f}.h \
/usr/$XBPS_CROSS_TRIPLET/include/rpcsvc/${f}.h
done
fi
}
post_install() {