PKGBUILDs/core/librpcsecgss/PKGBUILD
2009-11-02 03:39:39 -08:00

33 lines
1 KiB
Bash

# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: Andrew Krawchyk <krawch_a@denison.edu>, Marco Lima <cipparello gmail com>
pkgname=librpcsecgss
pkgver=0.18
pkgrel=1
pkgdesc="Library for RPCSECGSS support"
arch=('arm')
url="http://www.citi.umich.edu/projects/nfsv4/linux/"
license=('GPL')
depends=('glibc' 'heimdal>=1.2.1')
makedepends=('pkgconfig' 'autoconf')
options=('!libtool')
source=("http://www.citi.umich.edu/projects/nfsv4/linux/$pkgname/$pkgname-$pkgver.tar.gz"
librpcsecgss-0.18-heimdal.patch)
md5sums=('f2c4a69c5a32f62b762a569b8d962156'
'0cfe088551d5776f5bc08c1741a34346')
build() {
cd "$srcdir/$pkgname-$pkgver"
# Patch from gentoo for heimdal compatibility Bug #231395
# http://bugs.gentoo.org/show_bug.cgi?id=231395
patch -Np1 -i ../librpcsecgss-0.18-heimdal.patch || return 1
rm -f config.guess config.sub ltmain.sh
autoreconf -i
GSSAPI_CFLAGS='-I/usr/include/gssapi' \
./configure --prefix=/usr
make || return 1
make DESTDIR="$pkgdir/" install || return 1
}