summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-25 03:28:24 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-25 03:28:24 -0500
commitd68bf39405b5b4392b4c2a49251436318a1517bf (patch)
tree8bc3226a1160f6206e4e6594b60d8e58662ef9fc /system
parentfe00a2e6a8e4758946ed802e7b9358fc89f9a4d7 (diff)
downloadpackages-d68bf39405b5b4392b4c2a49251436318a1517bf.tar.gz
packages-d68bf39405b5b4392b4c2a49251436318a1517bf.tar.bz2
packages-d68bf39405b5b4392b4c2a49251436318a1517bf.tar.xz
packages-d68bf39405b5b4392b4c2a49251436318a1517bf.zip
system/libgpg-error: pull in for libgcrypt
Diffstat (limited to 'system')
-rw-r--r--system/libgpg-error/APKBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/system/libgpg-error/APKBUILD b/system/libgpg-error/APKBUILD
new file mode 100644
index 000000000..4f8222cb9
--- /dev/null
+++ b/system/libgpg-error/APKBUILD
@@ -0,0 +1,46 @@
+# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=libgpg-error
+pkgver=1.31
+pkgrel=0
+pkgdesc="GnuPG runtime library"
+url="http://www.gnupg.org"
+arch="all"
+license="LGPL-2.1+"
+depends=""
+depends_dev=""
+makedepends=""
+install=""
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-lisp:lisp:noarch"
+source="ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2
+ "
+
+builddir="$srcdir"/$pkgname-$pkgver
+build () {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make -j1 DESTDIR="$pkgdir" install
+}
+
+lisp() {
+ mkdir -p "$subpkgdir"/usr/
+ mv "$pkgdir"/usr/share "$subpkgdir"/usr/share/
+}
+
+sha512sums="23983470be51035b2bc0cdbfa20f0915aec92c53c964c645eac51ba4e992b8436bd3a21f0b48d77d7c4ef178d2aacaf57ab33c7fad24b4f96f4ffb1d7116e67f libgpg-error-1.31.tar.bz2"