mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
26 lines
786 B
Bash
26 lines
786 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=(ftp://ftp.prz.rzeszow.pl/pub/gentoo/source/distfiles/$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
|
|
}
|