summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/nettle
diff options
context:
space:
mode:
authorValentin Popa <valentin.popa@intel.com>2014-04-28 17:28:19 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-05-06 17:59:05 +0100
commite0e5eaee72e49c01e76d56cd03fbfb3e20febbb0 (patch)
tree9878645d36aef00801c13f37f8e32bd6148fc372 /meta/recipes-support/nettle
parentfd2848df50bec43248cab6ccdea2358be4719473 (diff)
downloadopenembedded-core-e0e5eaee72e49c01e76d56cd03fbfb3e20febbb0.tar.gz
openembedded-core-e0e5eaee72e49c01e76d56cd03fbfb3e20febbb0.tar.bz2
openembedded-core-e0e5eaee72e49c01e76d56cd03fbfb3e20febbb0.zip
nettle: add nettle to oe-core
Newer versions of gnutls depends on nettle. Signed-off-by: Valentin Popa <valentin.popa@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-support/nettle')
-rw-r--r--meta/recipes-support/nettle/nettle_2.7.1.bb24
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-support/nettle/nettle_2.7.1.bb b/meta/recipes-support/nettle/nettle_2.7.1.bb
new file mode 100644
index 0000000000..87f1639a8a
--- /dev/null
+++ b/meta/recipes-support/nettle/nettle_2.7.1.bb
@@ -0,0 +1,24 @@
+SUMMARY = "A low level cryptographic library"
+HOMEPAGE = "http://www.lysator.liu.se/~nisse/nettle/"
+SECTION = "libs"
+LICENSE = "LGPLv2.1 & GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \
+ file://serpent-decrypt.c;beginline=53;endline=67;md5=bcfd4745d53ca57f82907089898e390d \
+ file://serpent-set-key.c;beginline=56;endline=70;md5=bcfd4745d53ca57f82907089898e390d"
+
+DEPENDS += "gmp"
+
+SRC_URI = "http://www.lysator.liu.se/~nisse/archive/${BP}.tar.gz"
+
+SRC_URI[md5sum] = "003d5147911317931dd453520eb234a5"
+SRC_URI[sha256sum] = "bc71ebd43435537d767799e414fce88e521b7278d48c860651216e1fc6555b40"
+
+do_configure_prepend() {
+ if [ ! -e ${S}/acinclude.m4 -a -e ${S}/aclocal.m4 ]; then
+ cp ${S}/aclocal.m4 ${S}/acinclude.m4
+ fi
+}
+
+inherit autotools
+
+BBCLASSEXTEND = "native"