aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gpgme
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-05-10 12:59:43 -0500
committerWilliam Pitcock <nenolod@dereferenced.org>2011-05-10 12:59:43 -0500
commit763ba4ca331a9bb9e6d6ec97f3788efd8eda1325 (patch)
tree85fe55e6d511c9ea4ff0c9f6ce8f8b4f0a8f6c14 /testing/gpgme
parent8da9f55ee279a792e07f97e1514bf2b50e49ea25 (diff)
downloadaports-763ba4ca331a9bb9e6d6ec97f3788efd8eda1325.tar.bz2
aports-763ba4ca331a9bb9e6d6ec97f3788efd8eda1325.tar.xz
testing/gpgme: new aport
Diffstat (limited to 'testing/gpgme')
-rw-r--r--testing/gpgme/APKBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/testing/gpgme/APKBUILD b/testing/gpgme/APKBUILD
new file mode 100644
index 0000000000..990d263979
--- /dev/null
+++ b/testing/gpgme/APKBUILD
@@ -0,0 +1,44 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer:
+pkgname=gpgme
+pkgver=1.3.0
+pkgrel=0
+pkgdesc="gnupg made easy"
+url="http://www.gnupg.org/related_software/gpgme/"
+arch="all"
+license="GPL"
+depends=gnupg
+depends_dev="libgpg-error-dev libassuan-dev"
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-dev $pkgname-doc"
+source="ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-$pkgver.tar.bz2"
+
+_builddir="$srcdir"/gpgme-$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
+}
+
+md5sums="4784e3c6086c9c25e9a1b4d9f7c5aa96 gpgme-1.3.0.tar.bz2"