libgpg-error_1.55.bb 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. SUMMARY = "Small library that defines common error values for all GnuPG components"
  2. DESCRIPTION = "Contains common error codes and error handling functions used by GnuPG, Libgcrypt, GPGME and more packages. "
  3. HOMEPAGE = "http://www.gnupg.org/related_software/libgpg-error/"
  4. BUGTRACKER = "https://bugs.g10code.com/gnupg/index"
  5. LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later"
  6. LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
  7. file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \
  8. file://src/gpg-error.h.in;beginline=2;endline=18;md5=badc79a9308e1cbd2657b2441c7cf017 \
  9. file://src/init.c;beginline=2;endline=17;md5=f01cdfcf747af5380590cfd9bbfeaaf7 \
  10. "
  11. SECTION = "libs"
  12. UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html"
  13. SRC_URI = "${GNUPG_MIRROR}/libgpg-error/libgpg-error-${PV}.tar.bz2 \
  14. file://pkgconfig.patch \
  15. file://0001-Do-not-fail-when-testing-config-scripts.patch \
  16. file://run-ptest \
  17. "
  18. SRC_URI[sha256sum] = "95b178148863f07d45df0cea67e880a79b9ef71f5d230baddc0071128516ef78"
  19. BINCONFIG = "${bindir}/gpg-error-config"
  20. inherit autotools binconfig-disabled pkgconfig gettext multilib_header multilib_script ptest
  21. RDEPENDS:${PN}-ptest:append = " make bash"
  22. MULTILIB_SCRIPTS = "${PN}-dev:${bindir}/gpgrt-config"
  23. CPPFLAGS += "-P"
  24. do_install:append() {
  25. # we don't have common lisp in OE
  26. rm -rf "${D}${datadir}/common-lisp/"
  27. oe_multilib_header gpg-error.h gpgrt.h
  28. }
  29. do_compile_ptest() {
  30. oe_runmake -C tests buildtest-TESTS
  31. }
  32. do_install_ptest() {
  33. install ${B}/tests/t-*[!\.o] ${D}${PTEST_PATH}
  34. install ${B}/tests/Makefile ${D}${PTEST_PATH}
  35. }
  36. FILES:${PN}-dev += "${bindir}/gpg-error"
  37. FILES:${PN}-doc += "${datadir}/libgpg-error/errorref.txt"
  38. BBCLASSEXTEND = "native nativesdk"