diff options
Diffstat (limited to 'meta/recipes-support/gnupg/gnupg_2.1.5.bb')
| -rw-r--r-- | meta/recipes-support/gnupg/gnupg_2.1.5.bb | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/meta/recipes-support/gnupg/gnupg_2.1.5.bb b/meta/recipes-support/gnupg/gnupg_2.1.5.bb new file mode 100644 index 0000000000..8eb6b90798 --- /dev/null +++ b/meta/recipes-support/gnupg/gnupg_2.1.5.bb | |||
| @@ -0,0 +1,41 @@ | |||
| 1 | SUMMARY = "GNU Privacy Guard - encryption and signing tools (2.x)" | ||
| 2 | HOMEPAGE = "http://www.gnupg.org/" | ||
| 3 | LICENSE = "GPLv3 & LGPLv3" | ||
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949 \ | ||
| 5 | file://COPYING.LIB;md5=6a6a8e020838b23406c81b19c1d46df6" | ||
| 6 | |||
| 7 | DEPENDS = "npth libassuan libksba zlib bzip2 readline libgcrypt" | ||
| 8 | |||
| 9 | inherit autotools gettext texinfo pkgconfig | ||
| 10 | |||
| 11 | SRC_URI = "ftp://ftp.gnupg.org/gcrypt/${BPN}/${BPN}-${PV}.tar.bz2 \ | ||
| 12 | file://pkgconfig.patch \ | ||
| 13 | file://use-pkgconfig-instead-of-npth-config.patch \ | ||
| 14 | file://dirmngr-uses-libgpg-error.patch \ | ||
| 15 | " | ||
| 16 | |||
| 17 | SRC_URI[md5sum] = "ff16648f14ec164c7afce1066019364b" | ||
| 18 | SRC_URI[sha256sum] = "b5105a7160c39ba6e3aa53789b09f1bfac6e3422d15cc9f3a2f71f82320aa84c" | ||
| 19 | |||
| 20 | EXTRA_OECONF = "--disable-ldap \ | ||
| 21 | --disable-ccid-driver \ | ||
| 22 | --with-zlib=${STAGING_LIBDIR}/.. \ | ||
| 23 | --with-bzip2=${STAGING_LIBDIR}/.. \ | ||
| 24 | --with-readline=${STAGING_LIBDIR}/.. \ | ||
| 25 | " | ||
| 26 | RRECOMMENDS_${PN} = "pinentry" | ||
| 27 | |||
| 28 | do_configure_prepend () { | ||
| 29 | # Else these could be used in prefernce to those in aclocal-copy | ||
| 30 | rm -f ${S}/m4/gpg-error.m4 | ||
| 31 | rm -f ${S}/m4/libassuan.m4 | ||
| 32 | rm -f ${S}/m4/ksba.m4 | ||
| 33 | rm -f ${S}/m4/libgcrypt.m4 | ||
| 34 | } | ||
| 35 | |||
| 36 | do_install_append() { | ||
| 37 | ln -sf gpg2 ${D}${bindir}/gpg | ||
| 38 | ln -sf gpgv2 ${D}${bindir}/gpgv | ||
| 39 | } | ||
| 40 | |||
| 41 | RDEPENDS_${PN} = "gnutls" | ||
