mirror of
https://git.yoctoproject.org/poky
synced 2026-02-25 19:09:41 +01:00
This adds a binconfig-disabled class which can be used by recipes where a -config file is installed but we wish to disable it and just rely on the .pc files instead. Rather than simply deleting it, we make the script "exit 1" so that it can be found in PATH and raise a build error rather than something silently falling back to the build system for example. Rather than randomly finding -config files, this adds in the specification of a list of binconfig scripts which is more deterministic and maintainable moving forward. This patch converts various users in OE-Core to use this, a world build of OE-Core tests out ok with this change. There will likely be issues in other layers however, hence this being a RFT. (From OE-Core rev: 5870bd272b0b077d0826fb900b251884c1c05061) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
32 lines
1.1 KiB
BlitzBasic
32 lines
1.1 KiB
BlitzBasic
SUMMARY = "Small library that defines common error values for all GnuPG components"
|
|
HOMEPAGE = "http://www.gnupg.org/related_software/libgpg-error/"
|
|
BUGTRACKER = "https://bugs.g10code.com/gnupg/index"
|
|
|
|
LICENSE = "GPLv2+ & LGPLv2.1+"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
|
|
file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \
|
|
file://src/gpg-error.h.in;endline=23;md5=6ac0378874589a44d53512b3786b4bc0 \
|
|
file://src/init.c;endline=20;md5=b69742f2a8827d494c6f6a4b1768416c"
|
|
|
|
|
|
SECTION = "libs"
|
|
|
|
SRC_URI = "ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-${PV}.tar.bz2 \
|
|
file://pkgconfig.patch"
|
|
|
|
SRC_URI[md5sum] = "8f0eb41a344d19ac2aa9bd101dfb9ce6"
|
|
SRC_URI[sha256sum] = "cafc9ed6a87c53a35175d5a1220a96ca386696eef2fa059cc0306211f246e55f"
|
|
|
|
BINCONFIG = "${bindir}/gpg-error-config"
|
|
|
|
inherit autotools binconfig-disabled pkgconfig gettext
|
|
|
|
FILES_${PN}-dev += "${bindir}/gpg-error"
|
|
|
|
do_install_append() {
|
|
# we don't have common lisp in OE
|
|
rm -rf "${D}${datadir}/common-lisp/"
|
|
}
|
|
|
|
BBCLASSEXTEND = "native"
|