summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/gzip/gzip.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/gzip/gzip.inc')
-rw-r--r--meta/recipes-extended/gzip/gzip.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/recipes-extended/gzip/gzip.inc b/meta/recipes-extended/gzip/gzip.inc
index 04f8f95dd5..62b3e2f4f9 100644
--- a/meta/recipes-extended/gzip/gzip.inc
+++ b/meta/recipes-extended/gzip/gzip.inc
@@ -3,15 +3,15 @@ DESCRIPTION = "GNU Gzip is a popular data compression program originally written
3project. Mark Adler wrote the decompression part" 3project. Mark Adler wrote the decompression part"
4HOMEPAGE = "http://www.gnu.org/software/gzip/" 4HOMEPAGE = "http://www.gnu.org/software/gzip/"
5SECTION = "console/utils" 5SECTION = "console/utils"
6# change to GPLv3+ in 2007/07. Previous GPLv2 version is 1.3.12
7 6
8inherit autotools texinfo 7inherit autotools texinfo
9export DEFS="NO_ASM" 8export DEFS="NO_ASM"
10 9
11EXTRA_OEMAKE_class-target = "GREP=${base_bindir}/grep" 10EXTRA_OEMAKE:class-target = "GREP=${base_bindir}/grep"
12EXTRA_OECONF_append_libc-musl = " gl_cv_func_fflush_stdin=yes " 11EXTRA_OEMAKE:append:class-nativesdk = " GREP=grep"
12EXTRA_OECONF:append:libc-musl = " gl_cv_func_fflush_stdin=yes "
13 13
14do_install_append () { 14do_install:append () {
15 if [ "${base_bindir}" != "${bindir}" ]; then 15 if [ "${base_bindir}" != "${bindir}" ]; then
16 # Rename and move files into /bin (FHS), which is typical place for gzip 16 # Rename and move files into /bin (FHS), which is typical place for gzip
17 install -d ${D}${base_bindir} 17 install -d ${D}${base_bindir}
@@ -25,7 +25,7 @@ do_install_append () {
25inherit update-alternatives 25inherit update-alternatives
26 26
27ALTERNATIVE_PRIORITY = "100" 27ALTERNATIVE_PRIORITY = "100"
28ALTERNATIVE_${PN} = "gunzip gzip zcat" 28ALTERNATIVE:${PN} = "gunzip gzip zcat"
29ALTERNATIVE_LINK_NAME[gunzip] = "${base_bindir}/gunzip" 29ALTERNATIVE_LINK_NAME[gunzip] = "${base_bindir}/gunzip"
30ALTERNATIVE_LINK_NAME[gzip] = "${base_bindir}/gzip" 30ALTERNATIVE_LINK_NAME[gzip] = "${base_bindir}/gzip"
31ALTERNATIVE_LINK_NAME[zcat] = "${base_bindir}/zcat" 31ALTERNATIVE_LINK_NAME[zcat] = "${base_bindir}/zcat"