Patchwork [095/131] nettle: Add new recipe for nettle (needed for upgraded gnutls). 2.7.1

login
register
mail settings
Submitter christian.braunersorensen@prevas.dk
Date Jan. 14, 2014, 12:34 p.m.
Message ID <3ec8643b51ccc5f6f4f14cb26f644ed2a89fffc1.1389702652.git.christian.braunersorensen@prevas.dk>
Download mbox | patch
Permalink /patch/310695/
State Accepted
Delegated to: Esben Haabendal
Headers show

Comments

christian.braunersorensen@prevas.dk - Jan. 14, 2014, 12:34 p.m.
From: Christian Sørensen <christian.braunersorensen@prevas.dk>

Signed-off-by: Christian Sørensen <christian.braunersorensen@prevas.dk>
---
 recipes/nettle/nettle.inc          | 29 +++++++++++++++++++++++++++++
 recipes/nettle/nettle_2.7.1.oe     |  4 ++++
 recipes/nettle/nettle_2.7.1.oe.sig |  1 +
 3 files changed, 34 insertions(+)
 create mode 100644 recipes/nettle/nettle.inc
 create mode 100644 recipes/nettle/nettle_2.7.1.oe
 create mode 100644 recipes/nettle/nettle_2.7.1.oe.sig

Patch

diff --git a/recipes/nettle/nettle.inc b/recipes/nettle/nettle.inc
new file mode 100644
index 0000000..6e50ab1
--- /dev/null
+++ b/recipes/nettle/nettle.inc
@@ -0,0 +1,29 @@ 
+DESCRIPTION = "The Nettle package contains the low-level cryptographic \
+	library that is designed to fit easily in many contexts"
+LICENSE = "LGPL-2.1+"
+
+require conf/fetch/gnu.conf
+SRC_URI = "${GNU_MIRROR}/${PN}/${PN}-${PV}.tar.gz"
+
+inherit c++ autotools
+
+DEPENDS += "libgmp"
+
+inherit auto-package-libs
+AUTO_PACKAGE_LIBS = "nettle hogweed"
+
+DEPENDS_${PN}-libnettle += "libc libgcc"
+DEPENDS_${PN}-libhogweed += "libc libgmp libnettle"
+RDEPENDS_${PN}-libhogweed += "libc libgmp libnettle"
+
+inherit auto-package-utils
+AUTO_PACKAGE_UTILS = "nettle-hash nettle-lfib-stream pkcs1-conv sexp-conv"
+
+AUTO_PACKAGE_UTILS_DEPENDS = "libc libnettle libgmp"
+AUTO_PACKAGE_UTILS_RDEPENDS = "libc libnettle libgmp"
+
+DEPENDS_${PN}-pkcs1-conv += "libhogweed"
+RDEPENDS_${PN}-pkcs1-conv += "libhogweed"
+
+DEPENDS_${PN} += "libgmp libc libnettle" 
+RDEPENDS_${PN} += "libgmp libc libnettle" 
diff --git a/recipes/nettle/nettle_2.7.1.oe b/recipes/nettle/nettle_2.7.1.oe
new file mode 100644
index 0000000..f382fa8
--- /dev/null
+++ b/recipes/nettle/nettle_2.7.1.oe
@@ -0,0 +1,4 @@ 
+require ${PN}.inc
+
+LIBRARY_VERSION = "4"
+LIBRARY_VERSION_${PN}-libhogweed = "2"
diff --git a/recipes/nettle/nettle_2.7.1.oe.sig b/recipes/nettle/nettle_2.7.1.oe.sig
new file mode 100644
index 0000000..964081a
--- /dev/null
+++ b/recipes/nettle/nettle_2.7.1.oe.sig
@@ -0,0 +1 @@ 
+e7477df5f66e650c4c4738ec8e01c2efdb5d1211  nettle-2.7.1.tar.gz