summaryrefslogtreecommitdiffstats
path: root/testing/libgss/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/libgss/APKBUILD')
-rw-r--r--testing/libgss/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/libgss/APKBUILD b/testing/libgss/APKBUILD
new file mode 100644
index 000000000..887eef0e8
--- /dev/null
+++ b/testing/libgss/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=libgss
+pkgver=0.1.5
+pkgrel=0
+pkgdesc="An implementation of the Generic Security Service Application Program Interface"
+url="http://www.gnu.org/software/gss/"
+arch="all"
+license="GPL3+"
+depends=""
+depends_dev="pkgconfig"
+makedepends="$depends_dev gettext valgrind-dev"
+install=""
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
+source="ftp://alpha.gnu.org/gnu/gss/gss-$pkgver.tar.gz"
+_builddir="$srcdir"/gss-$pkgver
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ || return 1
+ make || return 1
+ make tests || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="d65431dd4dd35cfb8f4433b41ff75fbc gss-0.1.5.tar.gz"