PKGBUILDs/core/libtirpc/PKGBUILD

27 lines
780 B
Bash
Raw Normal View History

2009-11-01 03:32:03 +00:00
# Maintainer: Mike Staszel <mikestaszel@openpogo.com>
2009-10-10 05:27:44 +00:00
2009-10-10 02:17:35 +00:00
pkgname=libtirpc
pkgver=0.2.0
pkgrel=1
pkgdesc="Transport Independent RPC library (SunRPC replacement)"
2009-11-01 03:32:03 +00:00
arch=(i686 x86_64 arm)
2009-10-10 02:17:35 +00:00
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
}