summaryrefslogtreecommitdiffstats
path: root/recipes-extended/gzip
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-29 23:59:42 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-30 00:02:10 +0100
commit80747190ccce6628ce8815cf856f6ab867a00b5d (patch)
tree07be151fe85a5cf4207b8606fbe566e339e105e5 /recipes-extended/gzip
parent27eafbb395fd4f607249b2e57085012e40283926 (diff)
downloadmeta-gplv2-80747190ccce6628ce8815cf856f6ab867a00b5d.tar.gz
meta-gplv2: Convert to new override syntax
This converts the layer to the new override syntax. This was done using <oe-core>/scripts/contrib/convert-overrides.py <this-layer> with no manual fixes. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'recipes-extended/gzip')
-rw-r--r--recipes-extended/gzip/gzip.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/recipes-extended/gzip/gzip.inc b/recipes-extended/gzip/gzip.inc
index 04f8f95..15fd665 100644
--- a/recipes-extended/gzip/gzip.inc
+++ b/recipes-extended/gzip/gzip.inc
@@ -8,10 +8,10 @@ SECTION = "console/utils"
8inherit autotools texinfo 8inherit autotools texinfo
9export DEFS="NO_ASM" 9export DEFS="NO_ASM"
10 10
11EXTRA_OEMAKE_class-target = "GREP=${base_bindir}/grep" 11EXTRA_OEMAKE:class-target = "GREP=${base_bindir}/grep"
12EXTRA_OECONF_append_libc-musl = " gl_cv_func_fflush_stdin=yes " 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"