From 1f9b7826613f9ad7ffee9720c21a18022cff02fd Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Tue, 27 Jan 2015 00:18:55 -0800 Subject: gzip 1.3.12: a few fixes * Let gzip_1.3.12.bb and gzip_1.6.bb use gzip.inc to remove duplicated code. * Fixed for gzip_1.3.12.bb: WARNING: QA Issue: gzip requires /bin/bash, but no providers in its RDEPENDS [file-rdeps] * Remove native extend from gzip_1.3.12.bb, keep gzip_1.6.bb's. (From OE-Core rev: f3edae1a8cd8ac1b2ddb5f771a99cbb2c28bb529) Signed-off-by: Robert Yang Signed-off-by: Richard Purdie --- meta/recipes-extended/gzip/gzip_1.3.12.bb | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) (limited to 'meta/recipes-extended/gzip/gzip_1.3.12.bb') diff --git a/meta/recipes-extended/gzip/gzip_1.3.12.bb b/meta/recipes-extended/gzip/gzip_1.3.12.bb index 45a33ffdd1..e4062827bd 100644 --- a/meta/recipes-extended/gzip/gzip_1.3.12.bb +++ b/meta/recipes-extended/gzip/gzip_1.3.12.bb @@ -1,8 +1,4 @@ -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 = "base" +require gzip.inc LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ @@ -17,24 +13,3 @@ SRC_URI[md5sum] = "b5bac2d21840ae077e0217bc5e4845b1" SRC_URI[sha256sum] = "3f565be05f7f3d1aff117c030eb7c738300510b7d098cedea796ca8e4cd587af" PR = "r2" - -inherit autotools - -do_install_append () { - # move files into /bin (FHS) - 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 -} - -inherit update-alternatives - -ALTERNATIVE_${PN} = "gzip gunzip zcat" -ALTERNATIVE_LINK_NAME[gzip] = "${base_bindir}/gzip" -ALTERNATIVE_LINK_NAME[gunzip] = "${base_bindir}/gunzip" -ALTERNATIVE_LINK_NAME[zcat] = "${base_bindir}/zcat" -ALTERNATIVE_PRIORITY = "100" - -BBCLASSEXTEND = "native" -- cgit v1.2.3-54-g00ecf