blob: 56cfae7cf747aab676a12c8b5f00252d8a59ca61 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# $Id: PKGBUILD 109603 2011-02-11 00:48:10Z stephane $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: Andrew Krawchyk <krawch_a@denison.edu>, Marco Lima <cipparello gmail com>
pkgname=librpcsecgss
pkgver=0.19
pkgrel=4
pkgdesc="Library for RPCSECGSS support"
arch=('i686' 'x86_64')
url="http://www.citi.umich.edu/projects/nfsv4/linux/"
license=('GPL')
depends=('glibc' 'heimdal')
makedepends=('pkg-config' 'autoconf')
options=('!libtool')
source=("http://www.citi.umich.edu/projects/nfsv4/linux/${pkgname}/${pkgname}-${pkgver}.tar.gz"
librpcsecgss-0.18-heimdal.patch)
md5sums=('b45ed565bdc3099023aa35830ec92997'
'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 $srcdir/librpcsecgss-0.18-heimdal.patch
rm -f config.guess config.sub ltmain.sh
autoreconf -i
GSSAPI_CFLAGS='-I/usr/include/gssapi' \
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="$pkgdir/" install
}
|