summaryrefslogtreecommitdiff
path: root/user/npth/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-14 03:06:40 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-14 03:06:40 -0500
commit31ef01c5bb17dbc28b7922d0e1c4b4d9d531c0e7 (patch)
tree9fcf205fa61b9babd2d8951edcb665894f9f4fe0 /user/npth/APKBUILD
parent8f2a5aca6706cb2b884533f1c8d52d9b51bf8fc5 (diff)
downloadpackages-31ef01c5bb17dbc28b7922d0e1c4b4d9d531c0e7.tar.gz
packages-31ef01c5bb17dbc28b7922d0e1c4b4d9d531c0e7.tar.bz2
packages-31ef01c5bb17dbc28b7922d0e1c4b4d9d531c0e7.tar.xz
packages-31ef01c5bb17dbc28b7922d0e1c4b4d9d531c0e7.zip
user/npth: pull in, take, fix up
Diffstat (limited to 'user/npth/APKBUILD')
-rw-r--r--user/npth/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/user/npth/APKBUILD b/user/npth/APKBUILD
new file mode 100644
index 000000000..b286a58fd
--- /dev/null
+++ b/user/npth/APKBUILD
@@ -0,0 +1,35 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=npth
+pkgver=1.5
+pkgrel=2
+pkgdesc="Portable threading library from GNU"
+url="https://www.gnupg.org/software/npth/index.html"
+arch="all"
+license="LGPL-2.1+"
+subpackages="$pkgname-dev"
+source="ftp://ftp.gnupg.org/gcrypt/npth/npth-$pkgver.tar.bz2"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="20f0ec59d304c68081e42535870af8e76c18e30aa7b04ccdafe60fe5261ad7275c2c0e3ea3a767d6145258a3a39fa641032cd97205318266dd727a5fe7ee331a npth-1.5.tar.bz2"