diff options
Diffstat (limited to 'meta/recipes-extended/gzip/gzip.inc')
| -rw-r--r-- | meta/recipes-extended/gzip/gzip.inc | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/meta/recipes-extended/gzip/gzip.inc b/meta/recipes-extended/gzip/gzip.inc deleted file mode 100644 index 12232dd4da..0000000000 --- a/meta/recipes-extended/gzip/gzip.inc +++ /dev/null | |||
| @@ -1,33 +0,0 @@ | |||
| 1 | SUMMARY = "Standard GNU compressor" | ||
| 2 | DESCRIPTION = "GNU Gzip is a popular data compression program originally written by Jean-loup Gailly for the GNU \ | ||
| 3 | project. Mark Adler wrote the decompression part" | ||
| 4 | HOMEPAGE = "http://www.gnu.org/software/gzip/" | ||
| 5 | SECTION = "console/utils" | ||
| 6 | |||
| 7 | inherit autotools texinfo | ||
| 8 | export DEFS = "NO_ASM" | ||
| 9 | |||
| 10 | EXTRA_OEMAKE:class-target = "GREP=${base_bindir}/grep" | ||
| 11 | EXTRA_OEMAKE:append:class-nativesdk = " GREP=grep" | ||
| 12 | EXTRA_OECONF:append:libc-musl = " gl_cv_func_fflush_stdin=yes " | ||
| 13 | |||
| 14 | do_install:append () { | ||
| 15 | if [ "${base_bindir}" != "${bindir}" ]; then | ||
| 16 | # Rename and move files into /bin (FHS), which is typical place for gzip | ||
| 17 | install -d ${D}${base_bindir} | ||
| 18 | mv ${D}${bindir}/gunzip ${D}${base_bindir}/gunzip | ||
| 19 | mv ${D}${bindir}/gzip ${D}${base_bindir}/gzip | ||
| 20 | mv ${D}${bindir}/zcat ${D}${base_bindir}/zcat | ||
| 21 | mv ${D}${bindir}/uncompress ${D}${base_bindir}/uncompress | ||
| 22 | fi | ||
| 23 | } | ||
| 24 | |||
| 25 | inherit update-alternatives | ||
| 26 | |||
| 27 | ALTERNATIVE_PRIORITY = "100" | ||
| 28 | ALTERNATIVE:${PN} = "gunzip gzip zcat" | ||
| 29 | ALTERNATIVE_LINK_NAME[gunzip] = "${base_bindir}/gunzip" | ||
| 30 | ALTERNATIVE_LINK_NAME[gzip] = "${base_bindir}/gzip" | ||
| 31 | ALTERNATIVE_LINK_NAME[zcat] = "${base_bindir}/zcat" | ||
| 32 | |||
| 33 | export CONFIG_SHELL = "/bin/sh" | ||
