summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-extended/gzip/gzip.inc14
1 files changed, 8 insertions, 6 deletions
diff --git a/meta/recipes-extended/gzip/gzip.inc b/meta/recipes-extended/gzip/gzip.inc
index 94480ec530..58e5e0c53b 100644
--- a/meta/recipes-extended/gzip/gzip.inc
+++ b/meta/recipes-extended/gzip/gzip.inc
@@ -10,12 +10,14 @@ inherit autotools texinfo
10EXTRA_OEMAKE_class-target = "GREP=${base_bindir}/grep" 10EXTRA_OEMAKE_class-target = "GREP=${base_bindir}/grep"
11 11
12do_install_append () { 12do_install_append () {
13 # Rename and move files into /bin (FHS), which is typical place for gzip 13 if [ "${base_bindir}" != "${bindir}" ]; then
14 install -d ${D}${base_bindir} 14 # Rename and move files into /bin (FHS), which is typical place for gzip
15 mv ${D}${bindir}/gunzip ${D}${base_bindir}/gunzip 15 install -d ${D}${base_bindir}
16 mv ${D}${bindir}/gzip ${D}${base_bindir}/gzip 16 mv ${D}${bindir}/gunzip ${D}${base_bindir}/gunzip
17 mv ${D}${bindir}/zcat ${D}${base_bindir}/zcat 17 mv ${D}${bindir}/gzip ${D}${base_bindir}/gzip
18 mv ${D}${bindir}/uncompress ${D}${base_bindir}/uncompress 18 mv ${D}${bindir}/zcat ${D}${base_bindir}/zcat
19 mv ${D}${bindir}/uncompress ${D}${base_bindir}/uncompress
20 fi
19} 21}
20 22
21inherit update-alternatives 23inherit update-alternatives