summaryrefslogtreecommitdiff
path: root/repo/npth
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-04 15:10:51 +0100
committerdavidovski <david@davidovski.xyz>2022-06-04 15:10:51 +0100
commit694f3f8f3a33d7fe29ac4c55ee4d3ced1b5a16fa (patch)
tree1b5dc7572a3090b2b5cd00ae8edbcfb01efbaeea /repo/npth
parentdd57027830c597590a3b5fd90b1084a8f3616c18 (diff)
added npth
Diffstat (limited to 'repo/npth')
-rw-r--r--repo/npth/npth.xibuild31
1 files changed, 31 insertions, 0 deletions
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
+}
+