mirror of
git://git.yoctoproject.org/poky
synced 2026-09-09 06:33:34 +00:00
Due to the system providing a copy of gzip, we face some issues when we 'shadow' that copy with our own leading to a varient of race type bugs, and issues for example if a dependency such as libz is missing but the binary is still present. We usually rely on our dependency logic to protect us from this but for gzip, we don't have this protection since its not listed by all its users (and doing so would be impractical). This patch installed pigz and gzip into their own directory which we only add to PATH when we explictly want these binaries in much the same way we do with perl-native. This means dependency logic is correct when we use the binary and everything should work well. The patch adds an explict dependency into image.bbclass since the accelerated speed of compression is most appreciated at rootfs time. (From OE-Core rev: 7a98c0ef28822ae1fcee45b14db3edcfd4c7ad8f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
21 lines
712 B
PHP
21 lines
712 B
PHP
SUMMARY = "A stream-oriented XML parser library."
|
|
DESCRIPTION = "Expat is an XML parser library written in C. It is a stream-oriented parser in which an application registers handlers for things the parser might find in the XML document (like start tags)"
|
|
HOMEPAGE = "http://expat.sourceforge.net/"
|
|
SECTION = "libs"
|
|
LICENSE = "MIT"
|
|
|
|
SRC_URI = "${SOURCEFORGE_MIRROR}/expat/expat-${PV}.tar.gz \
|
|
file://autotools.patch"
|
|
|
|
inherit autotools lib_package gzipnative
|
|
|
|
# This package uses an archive format known to have issue with some
|
|
# versions of gzip
|
|
do_unpack[depends] += "gzip-native:do_populate_sysroot"
|
|
|
|
do_configure_prepend () {
|
|
rm -f ${S}/conftools/libtool.m4
|
|
}
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|