mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
27 lines
782 B
Bash
27 lines
782 B
Bash
|
# $Id$
|
||
|
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
|
||
|
pkgname=libtirpc
|
||
|
pkgver=0.2.0
|
||
|
pkgrel=1
|
||
|
pkgdesc="Transport Independent RPC library (SunRPC replacement)"
|
||
|
arch=(i686 x86_64)
|
||
|
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
|
||
|
}
|