summaryrefslogtreecommitdiff
path: root/package/npth/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-06-19 23:22:49 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-06-19 23:23:07 +0200
commit0067a474b84b49ffff6e065278ecf5045ef21f15 (patch)
treed450a0ef5aade6e57ee4c342546b9f81851b2950 /package/npth/Makefile
parent5105d428a910af09d0afad71924c70f380f987d5 (diff)
gnupg: add modern 2.1.x package
Diffstat (limited to 'package/npth/Makefile')
-rw-r--r--package/npth/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/package/npth/Makefile b/package/npth/Makefile
new file mode 100644
index 000000000..da0ca6594
--- /dev/null
+++ b/package/npth/Makefile
@@ -0,0 +1,27 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= npth
+PKG_VERSION:= 1.2
+PKG_RELEASE:= 1
+PKG_HASH:= 6ddbdddb2cf49a4723f9d1ad6563c480d6760dcb63cb7726b8fc3bc2e1b6c08a
+PKG_DESCR:= non-preemptive threads implementation
+PKG_SECTION:= libs/misc
+PKG_URL:= https://www.gnupg.org/related_software/npth/index.html
+PKG_SITES:= https://www.gnupg.org/ftp/gcrypt/npth/
+PKG_OPTS:= dev
+
+DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.bz2
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,NPTH,npth,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
+
+npth-install:
+ $(INSTALL_DIR) $(IDIR_NPTH)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libnpth*.so* \
+ $(IDIR_NPTH)/usr/lib
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk