# $Id: PKGBUILD 62190 2010-01-04 08:39:59Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=libtirpc
pkgver=0.2.1
pkgrel=1
pkgdesc="Transport Independent RPC library (SunRPC replacement)"
arch=(i686 x86_64)
depends=('glibc' 'libgssglue' 'heimdal')
url="http://libtirpc.sourceforge.net/"
license=('GPL2')
source=(http://downloads.sourceforge.net/sourceforge/libtirpc/$pkgname-$pkgver.tar.bz2)
backup=('etc/netconfig')
options=(!libtool)

build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure --prefix=/usr --enable-gss
  make || return 1
  make DESTDIR=$pkgdir install || return 1
  # install netconfig
  install -D -m644 doc/etc_netconfig $pkgdir/etc/netconfig
}
md5sums=('d77eb15f464bf9d6e66259eaf78b2a4e')