mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Clemens Gruber <clemens.gruber@pqgruber.com>
To: ptxdist@pengutronix.de
Cc: Clemens Gruber <clemens.gruber@pqgruber.com>
Subject: [ptxdist] [PATCH 3/4] npth: new package
Date: Tue, 16 Jan 2018 16:52:30 +0100	[thread overview]
Message-ID: <20180116155231.10543-3-clemens.gruber@pqgruber.com> (raw)
In-Reply-To: <20180116155231.10543-1-clemens.gruber@pqgruber.com>

Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
---
 rules/npth.in   | 10 ++++++++++
 rules/npth.make | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 71 insertions(+)
 create mode 100644 rules/npth.in
 create mode 100644 rules/npth.make

diff --git a/rules/npth.in b/rules/npth.in
new file mode 100644
index 000000000..a8db4f6ca
--- /dev/null
+++ b/rules/npth.in
@@ -0,0 +1,10 @@
+## SECTION=system_libraries
+
+config NPTH
+	tristate
+	prompt "npth"
+	help
+	  New Portable Threads Library used by GnuPG
+
+	  nPth is a library to provide the GNU Pth API and thus
+	  a non-preemptive threads implementation.
diff --git a/rules/npth.make b/rules/npth.make
new file mode 100644
index 000000000..6dda1e361
--- /dev/null
+++ b/rules/npth.make
@@ -0,0 +1,61 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2018 by Clemens Gruber <clemens.gruber@pqgruber.com>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_NPTH) += npth
+
+#
+# Paths and names
+#
+NPTH_VERSION		:= 1.5
+NPTH_MD5		:= 9ba2dc4302d2f32c66737c43ed191b1b
+NPTH			:= npth-$(NPTH_VERSION)
+NPTH_SUFFIX		:= tar.bz2
+NPTH_URL		:= ftp://ftp.gnupg.org/gcrypt/npth/$(NPTH).$(NPTH_SUFFIX)
+NPTH_SOURCE		:= $(SRCDIR)/$(NPTH).$(NPTH_SUFFIX)
+NPTH_DIR		:= $(BUILDDIR)/$(NPTH)
+NPTH_LICENSE		:= LGPL-2.1
+NPTH_LICENSE_FILES	:= \
+	file://COPYING.LIB;md5=2caced0b25dfefd4c601d92bd15116de
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+NPTH_AUTOCONF := \
+	$(CROSS_AUTOCONF_USR) \
+	--disable-tests \
+	--enable-build-timestamp="$(PTXDIST_VERSION_YEAR)-$(PTXDIST_VERSION_MONTH)-01T00:00+0000"
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/npth.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, npth)
+	@$(call install_fixup, npth,PRIORITY,optional)
+	@$(call install_fixup, npth,SECTION,base)
+	@$(call install_fixup, npth,AUTHOR,"Clemens Gruber")
+	@$(call install_fixup, npth,DESCRIPTION,"The new GNU portable threads library")
+
+	@$(call install_lib, npth, 0, 0, 0644, libnpth)
+
+	@$(call install_finish, npth)
+
+	@$(call touch)
+
+# vim: syntax=make
-- 
2.15.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  parent reply	other threads:[~2018-01-16 15:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-16 15:52 [ptxdist] [PATCH 1/4] libassuan: version bump 2.4.3 -> 2.5.1 Clemens Gruber
2018-01-16 15:52 ` [ptxdist] [PATCH 2/4] libgcrypt: version bump 1.8.1 -> 1.8.2 Clemens Gruber
2018-01-16 15:52 ` Clemens Gruber [this message]
2018-01-16 15:52 ` [ptxdist] [PATCH 4/4] gnupg: version bump 2.0.30 -> 2.2.4 Clemens Gruber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180116155231.10543-3-clemens.gruber@pqgruber.com \
    --to=clemens.gruber@pqgruber.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox