aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/librpcsecgss/APKBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/main/librpcsecgss/APKBUILD b/main/librpcsecgss/APKBUILD
new file mode 100644
index 0000000000..f6ee20aa11
--- /dev/null
+++ b/main/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"