aboutsummaryrefslogtreecommitdiffstats
path: root/main/libgcrypt/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/libgcrypt/APKBUILD')
-rw-r--r--main/libgcrypt/APKBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/main/libgcrypt/APKBUILD b/main/libgcrypt/APKBUILD
new file mode 100644
index 0000000000..efe95c1abf
--- /dev/null
+++ b/main/libgcrypt/APKBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=libgcrypt
+pkgver=1.4.4
+pkgrel=1
+pkgdesc="general purpose crypto library based on the code used in GnuPG"
+url="http://www.gnupg.org"
+license="LGPL"
+depends=
+makedepends="libgpg-error-dev texinfo"
+subpackages="$pkgname-dev $pkgname-doc"
+source="ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2"
+
+depends_dev="libgpg-error-dev"
+
+build () {
+ cd "$srcdir"/$pkgname-$pkgver
+
+ ./configure --build=${CHOST:-i486-alpine-linux-uclibc} \
+ --prefix=/usr \
+ --enable-padlock-support \
+ --disable-static
+
+ make || return 1
+ make -j1 DESTDIR="$pkgdir" install || return 1
+ rm -f ${pkgdir}/usr/share/info/dir
+}
+md5sums="34105aa927e23c217741966496b97e67 libgcrypt-1.4.4.tar.bz2"