summaryrefslogtreecommitdiff
path: root/testing/libgssglue/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/libgssglue/PKGBUILD')
-rw-r--r--testing/libgssglue/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/libgssglue/PKGBUILD b/testing/libgssglue/PKGBUILD
new file mode 100644
index 000000000..382ce696b
--- /dev/null
+++ b/testing/libgssglue/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 165536 2012-08-23 08:47:06Z tomegun $
+# Maintainer: Tom Gundersen <teg@jklm.no>
+# Contributor: Tobias Powalowski <tpowa@archlinux.org>
+
+pkgname=libgssglue
+pkgver=0.4
+pkgrel=1
+pkgdesc="Exports a gssapi interface which calls other random gssapi libraries"
+arch=('i686' 'x86_64')
+url="http://www.citi.umich.edu/projects/nfsv4/linux/"
+license=('BSD')
+depends=('glibc')
+makedepends=('pkgconfig' 'autoconf')
+backup=(etc/gssapi_mech.conf)
+options=('!libtool')
+source=(http://www.citi.umich.edu/projects/nfsv4/linux/$pkgname/$pkgname-$pkgver.tar.gz
+ gssapi_mech.conf)
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+ make DESTDIR="$pkgdir/" install
+
+ # Configuration
+ install -Dm644 "$srcdir"/gssapi_mech.conf "$pkgdir/"etc/gssapi_mech.conf
+ # install license
+ install -Dm644 COPYING "$pkgdir"/usr/share/licenses/libgssglue/COPYING
+}
+md5sums=('088797f3180702fa54e786496b32e750'
+ '080be866717e4e06fa6f7d6f43cb395a')