Patchwork [14/16] npth: Add recipe

login
register
mail settings
Submitter Khem Raj
Date June 9, 2012, 4:43 p.m.
Message ID <251c5a038f0a2d1dd4c90f75bfbd69e10a90c298.1339259893.git.raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/29583/
State Accepted
Commit 1b6bebf02be5bb5879c06d6f79b434ee054717a7
Headers show

Comments

Khem Raj - June 9, 2012, 4:43 p.m.
npth is modern version of pth
gnugp 2.1 will drop pth in favor of npth

npth works with uclibc too whereas pth does not

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-support/npth/npth_0.90.bb |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-support/npth/npth_0.90.bb

Patch

diff --git a/meta/recipes-support/npth/npth_0.90.bb b/meta/recipes-support/npth/npth_0.90.bb
new file mode 100644
index 0000000..7d39ca8
--- /dev/null
+++ b/meta/recipes-support/npth/npth_0.90.bb
@@ -0,0 +1,17 @@ 
+DESCRIPTION = "New GNU Portable Threads"
+HOMEPAGE = "http://www.gnupg.org/software/pth/"
+SECTION = "libs"
+LICENSE = "LGPLv3+ & GPLv2+"
+LIC_FILES_CHKSUM = "\
+    file://COPYING;md5=751419260aa954499f7abaabaa882bbe\
+    file://COPYING.LESSER;md5=6a6a8e020838b23406c81b19c1d46df6\
+    "
+SRC_URI = "ftp://ftp.gnupg.org/gcrypt/npth/npth-${PV}.tar.bz2 \
+          "
+SRC_URI[md5sum] = "701665669b371385a92817ff1f9215ca"
+SRC_URI[sha256sum] = "e24e99c9e90e7c2c2272fed3a939647fdcd3a7ee0c9efb2983eed553ab2b4568"
+
+inherit autotools binconfig
+
+FILES_${PN} = "${libdir}/libnpth.so.*"
+FILES_${PN}-dev += "${bindir}/npth-config"