# Template file for 'libtirpc'
pkgname=libtirpc
version=0.2.2
patch_args="-Np1"
homepage="http://libtirpc.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
build_style=gnu-configure
configure_args="--enable-gss"
makedepends="automake pkg-config libgssglue-devel"
revision=1
short_desc="Transport Independent RPC library (SunRPC replacement)"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"
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() {
	autoreconf -fi
}

post_install() {
	vinstall doc/etc_netconfig 644 etc netconfig
}
