Complete Yocto mirror with license table for TQMa6UL (2038-compliance)
- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
This commit is contained in:
33
sources/poky/meta/recipes-extended/gzip/gzip.inc
Normal file
33
sources/poky/meta/recipes-extended/gzip/gzip.inc
Normal file
@@ -0,0 +1,33 @@
|
||||
SUMMARY = "Standard GNU compressor"
|
||||
DESCRIPTION = "GNU Gzip is a popular data compression program originally written by Jean-loup Gailly for the GNU \
|
||||
project. Mark Adler wrote the decompression part"
|
||||
HOMEPAGE = "http://www.gnu.org/software/gzip/"
|
||||
SECTION = "console/utils"
|
||||
|
||||
inherit autotools texinfo
|
||||
export DEFS="NO_ASM"
|
||||
|
||||
EXTRA_OEMAKE:class-target = "GREP=${base_bindir}/grep"
|
||||
EXTRA_OEMAKE:append:class-nativesdk = " GREP=grep"
|
||||
EXTRA_OECONF:append:libc-musl = " gl_cv_func_fflush_stdin=yes "
|
||||
|
||||
do_install:append () {
|
||||
if [ "${base_bindir}" != "${bindir}" ]; then
|
||||
# Rename and move files into /bin (FHS), which is typical place for gzip
|
||||
install -d ${D}${base_bindir}
|
||||
mv ${D}${bindir}/gunzip ${D}${base_bindir}/gunzip
|
||||
mv ${D}${bindir}/gzip ${D}${base_bindir}/gzip
|
||||
mv ${D}${bindir}/zcat ${D}${base_bindir}/zcat
|
||||
mv ${D}${bindir}/uncompress ${D}${base_bindir}/uncompress
|
||||
fi
|
||||
}
|
||||
|
||||
inherit update-alternatives
|
||||
|
||||
ALTERNATIVE_PRIORITY = "100"
|
||||
ALTERNATIVE:${PN} = "gunzip gzip zcat"
|
||||
ALTERNATIVE_LINK_NAME[gunzip] = "${base_bindir}/gunzip"
|
||||
ALTERNATIVE_LINK_NAME[gzip] = "${base_bindir}/gzip"
|
||||
ALTERNATIVE_LINK_NAME[zcat] = "${base_bindir}/zcat"
|
||||
|
||||
export CONFIG_SHELL="/bin/sh"
|
||||
Reference in New Issue
Block a user