gnupg: add 2.0.18 (initial recipe)
authorSteve Sakoman <steve@sakoman.com>
Wed, 1 Feb 2012 15:20:31 +0000 (07:20 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 3 Feb 2012 17:23:33 +0000 (17:23 +0000)
GnuPG 2.0 is the new modularized version of GnuPG supporting OpenPGP and S/MIME

(From OE-Core rev: d99215fb1928e9996bb358b9f95d379d93b45377)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Acked-by: Paul Menzel <paulepanter@users.sourceforge.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/gnupg/gnupg_2.0.18.bb [new file with mode: 0644]

diff --git a/meta/recipes-support/gnupg/gnupg_2.0.18.bb b/meta/recipes-support/gnupg/gnupg_2.0.18.bb
new file mode 100644 (file)
index 0000000..c1024c8
--- /dev/null
@@ -0,0 +1,24 @@
+DESCRIPTION = "GNU privacy guard - a free PGP replacement (new v2.x)"
+HOMEPAGE = "http://www.gnupg.org/"
+LICENSE = "GPLv3 & LGPLv3"
+LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949 \
+                    file://COPYING.LIB;md5=6a6a8e020838b23406c81b19c1d46df6"
+
+DEPENDS = "pth libassuan libksba zlib bzip2 readline"
+
+inherit autotools gettext
+
+SRC_URI = "ftp://ftp.gnupg.org/gcrypt/${PN}/${P}.tar.bz2"
+
+SRC_URI[md5sum] = "2f37e0722666a0fedbe4d9f9227ac4d7"
+SRC_URI[sha256sum] = "48aedd762ca443fb952a9e859efe3c66706d7c2c9c77c32dbdbac4fe962dae5b"
+
+EXTRA_OECONF = "--disable-ldap \
+               --with-zlib=${STAGING_LIBDIR}/.. \
+               --with-bzip2=${STAGING_LIBDIR}/.. \
+                --with-readline=${STAGING_LIBDIR}/.. \
+               "
+
+do_install_append() {
+       ln -sf gpg2 ${D}${bindir}/gpg
+}