From 21078e8f5a2156b1a1f4f50d345508fb1c7e7e66 Mon Sep 17 00:00:00 2001 From: Hongxu Jia Date: Mon, 13 Jun 2016 05:16:28 -0400 Subject: gnugp: upgrade to 2.1.12 Signed-off-by: Hongxu Jia Signed-off-by: Richard Purdie --- meta/recipes-support/gnupg/gnupg_2.1.12.bb | 46 ++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 meta/recipes-support/gnupg/gnupg_2.1.12.bb (limited to 'meta/recipes-support/gnupg/gnupg_2.1.12.bb') 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" -- cgit 1.2.3-korg