Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame^] | 1 | SUMMARY = "High-level GnuPG encryption/signing API" |
| 2 | DESCRIPTION = "GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG easier for applications. It provides a High-Level Crypto API for encryption, decryption, signing, signature verification and key management" |
| 3 | HOMEPAGE = "http://www.gnupg.org/gpgme.html" |
| 4 | BUGTRACKER = "https://bugs.g10code.com/gnupg/index" |
| 5 | |
| 6 | LICENSE = "GPLv2+ & LGPLv2.1+" |
| 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ |
| 8 | file://COPYING.LESSER;md5=bbb461211a33b134d42ed5ee802b37ff \ |
| 9 | file://src/gpgme.h.in;endline=23;md5=5027eec93a996272a9a0a6a86cf35775 \ |
| 10 | file://src/engine.h;endline=22;md5=4b6d8ba313d9b564cc4d4cfb1640af9d" |
| 11 | |
| 12 | SRC_URI = "ftp://ftp.gnupg.org/gcrypt/gpgme/${BP}.tar.bz2 \ |
| 13 | file://gpgme.pc \ |
| 14 | file://pkgconfig.patch \ |
| 15 | " |
| 16 | |
| 17 | SRC_URI[md5sum] = "60d730d22e8065fd5de309e8b98e304b" |
| 18 | SRC_URI[sha256sum] = "b09de4197ac280b102080e09eaec6211d081efff1963bf7821cf8f4f9916099d" |
| 19 | |
| 20 | DEPENDS = "libgpg-error libassuan" |
| 21 | |
| 22 | BINCONFIG = "${bindir}/gpgme-config" |
| 23 | |
| 24 | inherit autotools texinfo binconfig-disabled pkgconfig |
| 25 | |
| 26 | PACKAGES =+ "${PN}-pthread" |
| 27 | FILES_${PN}-pthread = "${libdir}/libgpgme-pthread.so.*" |
| 28 | FILES_${PN}-dev += "${datadir}/common-lisp/source/gpgme/*" |
| 29 | |
| 30 | CFLAGS_append_libc-musl = " -D__error_t_defined " |
| 31 | do_configure_prepend () { |
| 32 | # Else these could be used in preference to those in aclocal-copy |
| 33 | rm -f ${S}/m4/gpg-error.m4 |
| 34 | rm -f ${S}/m4/libassuan.m4 |
| 35 | } |
| 36 | |
| 37 | do_install_append () { |
| 38 | install -d ${D}${libdir}/pkgconfig |
| 39 | install -m 0644 ${WORKDIR}/gpgme.pc ${D}${libdir}/pkgconfig/ |
| 40 | } |