Andrew Geissler | 475cb72 | 2020-07-10 16:00:51 -0500 | [diff] [blame] | 1 | SUMMARY = "Small library that defines common error values for all GnuPG components" |
Andrew Geissler | 90fd73c | 2021-03-05 15:25:55 -0600 | [diff] [blame] | 2 | DESCRIPTION = "Contains common error codes and error handling functions used by GnuPG, Libgcrypt, GPGME and more packages. " |
Andrew Geissler | 475cb72 | 2020-07-10 16:00:51 -0500 | [diff] [blame] | 3 | HOMEPAGE = "http://www.gnupg.org/related_software/libgpg-error/" |
| 4 | BUGTRACKER = "https://bugs.g10code.com/gnupg/index" |
| 5 | |
| 6 | LICENSE = "GPLv2+ & LGPLv2.1+" |
| 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ |
| 8 | file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \ |
| 9 | file://src/gpg-error.h.in;beginline=2;endline=18;md5=d82591bc81561f617da71e00ff4a9d79 \ |
| 10 | file://src/init.c;beginline=2;endline=17;md5=f01cdfcf747af5380590cfd9bbfeaaf7 \ |
| 11 | " |
| 12 | |
| 13 | |
| 14 | SECTION = "libs" |
| 15 | |
| 16 | UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html" |
| 17 | SRC_URI = "${GNUPG_MIRROR}/libgpg-error/libgpg-error-${PV}.tar.bz2 \ |
| 18 | file://pkgconfig.patch \ |
| 19 | file://0001-Do-not-fail-when-testing-config-scripts.patch \ |
William A. Kennington III | ac69b48 | 2021-06-02 12:28:27 -0700 | [diff] [blame] | 20 | file://fix-cross.patch \ |
| 21 | file://0001-configure.ac-do-not-hardcode-gnu-libc-when-generatin.patch \ |
Andrew Geissler | 475cb72 | 2020-07-10 16:00:51 -0500 | [diff] [blame] | 22 | " |
| 23 | |
William A. Kennington III | ac69b48 | 2021-06-02 12:28:27 -0700 | [diff] [blame] | 24 | SRC_URI[sha256sum] = "fc07e70f6c615f8c4f590a8e37a9b8dd2e2ca1e9408f8e60459c67452b925e23" |
Andrew Geissler | 475cb72 | 2020-07-10 16:00:51 -0500 | [diff] [blame] | 25 | |
| 26 | BINCONFIG = "${bindir}/gpg-error-config" |
| 27 | |
| 28 | inherit autotools binconfig-disabled pkgconfig gettext multilib_header multilib_script |
| 29 | |
| 30 | MULTILIB_SCRIPTS = "${PN}-dev:${bindir}/gpgrt-config" |
| 31 | |
| 32 | CPPFLAGS += "-P" |
| 33 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 34 | do_install:append() { |
Andrew Geissler | 475cb72 | 2020-07-10 16:00:51 -0500 | [diff] [blame] | 35 | # we don't have common lisp in OE |
| 36 | rm -rf "${D}${datadir}/common-lisp/" |
| 37 | oe_multilib_header gpg-error.h gpgrt.h |
| 38 | } |
| 39 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 40 | FILES:${PN}-dev += "${bindir}/gpg-error" |
| 41 | FILES:${PN}-doc += "${datadir}/libgpg-error/errorref.txt" |
Andrew Geissler | 475cb72 | 2020-07-10 16:00:51 -0500 | [diff] [blame] | 42 | |
| 43 | BBCLASSEXTEND = "native nativesdk" |