mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
26 lines
770 B
Bash
26 lines
770 B
Bash
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
|
|
|
|
pkgname=libtirpc
|
|
pkgver=0.2.0
|
|
pkgrel=1
|
|
pkgdesc="Transport Independent RPC library (SunRPC replacement)"
|
|
arch=('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
|
|
}
|