summaryrefslogtreecommitdiff
path: root/repo/libgcrypt
diff options
context:
space:
mode:
Diffstat (limited to 'repo/libgcrypt')
-rw-r--r--repo/libgcrypt/libgcrypt.xibuild24
1 files changed, 24 insertions, 0 deletions
diff --git a/repo/libgcrypt/libgcrypt.xibuild b/repo/libgcrypt/libgcrypt.xibuild
new file mode 100644
index 0000000..4c90552
--- /dev/null
+++ b/repo/libgcrypt/libgcrypt.xibuild
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+MAKEDEPS="make"
+DEPS="musl libgpg-error"
+
+PKG_VER=1.9.4
+SOURCE=https://www.gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-$PKG_VER.tar.bz2
+DESC="General purpose crypto library based on the code used in GnuPG"
+
+build () {
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --enable-static
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+}
+
+