Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 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] = "ebdf92b15b8bcd8579b643c7f41a3238" |
| 18 | SRC_URI[sha256sum] = "c18a3776d47fec98892d51d28b6574ef16bf0a25eabb0956231058aaf2e7846e" |
| 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" |