aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/gnupg/gnupg_2.1.12.bb
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2016-06-13 05:16:28 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-14 12:56:33 +0100
commit21078e8f5a2156b1a1f4f50d345508fb1c7e7e66 (patch)
treecedd04b72d02c7376b38c2503285bf6736046e8c /meta/recipes-support/gnupg/gnupg_2.1.12.bb
parent227ca0a373b5a93602a419296ff1da1a96615ba2 (diff)
downloadopenembedded-core-contrib-21078e8f5a2156b1a1f4f50d345508fb1c7e7e66.tar.gz
openembedded-core-contrib-21078e8f5a2156b1a1f4f50d345508fb1c7e7e66.tar.bz2
openembedded-core-contrib-21078e8f5a2156b1a1f4f50d345508fb1c7e7e66.zip
gnugp: upgrade to 2.1.12
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/gnupg/gnupg_2.1.12.bb')
-rw-r--r--meta/recipes-support/gnupg/gnupg_2.1.12.bb46
1 files changed, 46 insertions, 0 deletions
diff --git a/meta/recipes-support/gnupg/gnupg_2.1.12.bb b/meta/recipes-support/gnupg/gnupg_2.1.12.bb
new file mode 100644
index 0000000000..8f1c67cc5b
--- /dev/null
+++ b/meta/recipes-support/gnupg/gnupg_2.1.12.bb
@@ -0,0 +1,46 @@
+SUMMARY = "GNU Privacy Guard - encryption and signing tools (2.x)"
+HOMEPAGE = "http://www.gnupg.org/"
+LICENSE = "GPLv3 & LGPLv3"
+LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949 \
+ file://COPYING.LIB;md5=6a6a8e020838b23406c81b19c1d46df6"
+
+DEPENDS = "npth libassuan libksba zlib bzip2 readline libgcrypt"
+
+inherit autotools gettext texinfo pkgconfig
+
+UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html"
+SRC_URI = "${GNUPG_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \
+ file://pkgconfig.patch \
+ file://use-pkgconfig-instead-of-npth-config.patch \
+ file://dirmngr-uses-libgpg-error.patch \
+ file://autogen.sh-fix-find-version-for-beta-checking.patch \
+ "
+
+SRC_URI[md5sum] = "573bc2cd83934eed12f0d0db443f5bde"
+SRC_URI[sha256sum] = "ac34929d2400a58a349963865442ee6cdd75e500a8d5df083d29835e88bfc506"
+
+EXTRA_OECONF = "--disable-ldap \
+ --disable-ccid-driver \
+ --with-zlib=${STAGING_LIBDIR}/.. \
+ --with-bzip2=${STAGING_LIBDIR}/.. \
+ --with-readline=${STAGING_LIBDIR}/.. \
+ "
+RRECOMMENDS_${PN} = "pinentry"
+
+do_configure_prepend () {
+ # Else these could be used in prefernce to those in aclocal-copy
+ rm -f ${S}/m4/gpg-error.m4
+ rm -f ${S}/m4/libassuan.m4
+ rm -f ${S}/m4/ksba.m4
+ rm -f ${S}/m4/libgcrypt.m4
+}
+
+do_install_append() {
+ ln -sf gpg2 ${D}${bindir}/gpg
+ ln -sf gpgv2 ${D}${bindir}/gpgv
+}
+
+RDEPENDS_${PN} = "gnutls"
+
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[sqlite3] = "--enable-sqlite, --disable-sqlite, sqlite3"