diff options
Diffstat (limited to 'meta/recipes-support/gnupg/gnupg_2.1.11.bb')
-rw-r--r-- | meta/recipes-support/gnupg/gnupg_2.1.11.bb | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/meta/recipes-support/gnupg/gnupg_2.1.11.bb b/meta/recipes-support/gnupg/gnupg_2.1.11.bb new file mode 100644 index 0000000000..8e2189bca7 --- /dev/null +++ b/meta/recipes-support/gnupg/gnupg_2.1.11.bb | |||
@@ -0,0 +1,45 @@ | |||
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 | file://autogen.sh-fix-find-version-for-beta-checking.patch \ | ||
16 | " | ||
17 | |||
18 | SRC_URI[md5sum] = "873302c475c4c90badb67daac90ebd5d" | ||
19 | SRC_URI[sha256sum] = "b7b0fb2c8c5d47d7ec916d4a1097c0ddcb94a12bb1c0ac424ad86b1ee316b61a" | ||
20 | |||
21 | EXTRA_OECONF = "--disable-ldap \ | ||
22 | --disable-ccid-driver \ | ||
23 | --with-zlib=${STAGING_LIBDIR}/.. \ | ||
24 | --with-bzip2=${STAGING_LIBDIR}/.. \ | ||
25 | --with-readline=${STAGING_LIBDIR}/.. \ | ||
26 | " | ||
27 | RRECOMMENDS_${PN} = "pinentry" | ||
28 | |||
29 | do_configure_prepend () { | ||
30 | # Else these could be used in prefernce to those in aclocal-copy | ||
31 | rm -f ${S}/m4/gpg-error.m4 | ||
32 | rm -f ${S}/m4/libassuan.m4 | ||
33 | rm -f ${S}/m4/ksba.m4 | ||
34 | rm -f ${S}/m4/libgcrypt.m4 | ||
35 | } | ||
36 | |||
37 | do_install_append() { | ||
38 | ln -sf gpg2 ${D}${bindir}/gpg | ||
39 | ln -sf gpgv2 ${D}${bindir}/gpgv | ||
40 | } | ||
41 | |||
42 | RDEPENDS_${PN} = "gnutls" | ||
43 | |||
44 | PACKAGECONFIG ??= "" | ||
45 | PACKAGECONFIG[sqlite3] = "--enable-sqlite, --disable-sqlite, sqlite3" | ||