summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-02-14 10:06:13 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-02-14 10:06:13 +0000
commitbdcfb2592bb395a332cf7313d885b37dbe5a0c00 (patch)
treeec445002882345ae5c8de5b04d0cccd52ad96e6f
parent1e000faf59b5140f14e7f04c3c96f10ab96fdb3a (diff)
downloadaports-bdcfb2592bb395a332cf7313d885b37dbe5a0c00.tar.bz2
aports-bdcfb2592bb395a332cf7313d885b37dbe5a0c00.tar.xz
testing/librpcsecgss: new aport
Library for RPCSECGSS support http://www.citi.umich.edu/projects/nfsv4/linux/librpcsecgss
-rw-r--r--testing/librpcsecgss/APKBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/testing/librpcsecgss/APKBUILD b/testing/librpcsecgss/APKBUILD
new file mode 100644
index 000000000..f6ee20aa1
--- /dev/null
+++ b/testing/librpcsecgss/APKBUILD
@@ -0,0 +1,46 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=librpcsecgss
+pkgver=0.19
+pkgrel=0
+pkgdesc="Library for RPCSECGSS support"
+url="http://www.citi.umich.edu/projects/nfsv4/linux/librpcsecgss"
+arch="all"
+license="GPL"
+depends=""
+depends_dev="libgssglue-dev"
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-dev"
+source="http://www.citi.umich.edu/projects/nfsv4/linux/librpcsecgss/librpcsecgss-$pkgver.tar.gz"
+
+_builddir="$srcdir"/librpcsecgss-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="b45ed565bdc3099023aa35830ec92997 librpcsecgss-0.19.tar.gz"
+sha256sums="0cafb86b67e5eb4c89e8abaaad9165298946bc164d258e8925fc6dc1fa913abd librpcsecgss-0.19.tar.gz"
+sha512sums="f492f26ebfc6bde007b0b06554dd9075786c1f7562add911cffcc892b3f34698a2f9847b399df828ff0665a906ef17192df070f7b70d32a2ce709291a7492620 librpcsecgss-0.19.tar.gz"