PKGBUILDs/core/libtirpc/PKGBUILD
2009-10-31 22:32:03 -05:00

26 lines
780 B
Bash

# Maintainer: Mike Staszel <mikestaszel@openpogo.com>
pkgname=libtirpc
pkgver=0.2.0
pkgrel=1
pkgdesc="Transport Independent RPC library (SunRPC replacement)"
arch=(i686 x86_64 arm)
depends=('glibc')
url="http://libtirpc.sourceforge.net/"
license=('GPL2')
source=(http://dl.sourceforge.net/sourceforge/libtirpc/$pkgname-$pkgver.tar.bz2
libtirpc-0.2.0-no-gss.patch)
backup=('etc/netconfig')
options=(!libtool)
md5sums=('b3b513a8825aa227deac63ea38c64f41'
'ca3a559764f3898baebf86b2ee5fd75f')
build() {
cd $srcdir/$pkgname-$pkgver
patch -Np0 -i ../libtirpc-0.2.0-no-gss.patch || return 1
./configure --prefix=/usr
make || return 1
make DESTDIR=$pkgdir install || return 1
# install netconfig
install -D -m644 doc/etc_netconfig $pkgdir/etc/netconfig
}