summaryrefslogtreecommitdiff
path: root/repo
diff options
context:
space:
mode:
Diffstat (limited to 'repo')
-rw-r--r--repo/gnupg/gnupg.xibuild2
-rw-r--r--repo/npth/npth.xibuild31
2 files changed, 32 insertions, 1 deletions
diff --git a/repo/gnupg/gnupg.xibuild b/repo/gnupg/gnupg.xibuild
index 3b4d8ec..7cea733 100644
--- a/repo/gnupg/gnupg.xibuild
+++ b/repo/gnupg/gnupg.xibuild
@@ -3,7 +3,7 @@
NAME="gnupg"
DESC="GNU Privacy Guard 2 - meta package for full GnuPG suite"
-MAKEDEPS=" autoconf automake bzip2 gettext gnutls libassuan libgcrypt libgpg-error libksba libtool libusb npth openldap pinentry sqlite3 texinfo zlib"
+MAKEDEPS=" autoconf automake bzip2 gettext gnutls libassuan libgcrypt libgpg-error libksba libtool libusb npth libldap pinentry sqlite3 texinfo zlib"
PKG_VER=2.2.34
SOURCE="https://gnupg.org/ftp/gcrypt/gnupg/gnupg-$PKG_VER.tar.bz2"
diff --git a/repo/npth/npth.xibuild b/repo/npth/npth.xibuild
new file mode 100644
index 0000000..2d3d5d4
--- /dev/null
+++ b/repo/npth/npth.xibuild
@@ -0,0 +1,31 @@
+#!/bin/sh
+
+NAME="npth"
+DESC="The New GNU Portable Threads library"
+
+MAKEDEPS=""
+
+PKG_VER=1.6
+SOURCE="https://gnupg.org/ftp/gcrypt/npth/npth-$PKG_VER.tar.bz2"
+
+build() {
+ cd "$BUILD_ROOT"
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$BUILD_ROOT"
+ make check
+}
+
+package() {
+ cd "$BUILD_ROOT"
+ make DESTDIR="$PKG_DEST" install
+}
+