summaryrefslogtreecommitdiff
path: root/meta/recipes-extended/gzip
diff options
context:
space:
mode:
authorScott Garman <scott.a.garman@intel.com>2012-06-21 17:27:32 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-06-25 16:32:15 +0100
commit570788854be1372b095d5dd1ad0549e26c8e8992 (patch)
tree1bffdc8ec4c531830b11dd6d1da9ce42c1cb7b42 /meta/recipes-extended/gzip
parent7d0c7a759c29669b2b5828fd75837926506acd87 (diff)
downloadopenembedded-core-570788854be1372b095d5dd1ad0549e26c8e8992.tar.gz
openembedded-core-570788854be1372b095d5dd1ad0549e26c8e8992.tar.bz2
openembedded-core-570788854be1372b095d5dd1ad0549e26c8e8992.zip
gzip: upgrade to 1.5
LIC_FILES_CHKSUM updated due to trivial copyright date change. Use new update-alternatives syntax. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Diffstat (limited to 'meta/recipes-extended/gzip')
-rw-r--r--meta/recipes-extended/gzip/gzip.inc7
-rw-r--r--meta/recipes-extended/gzip/gzip_1.4.bb10
-rw-r--r--meta/recipes-extended/gzip/gzip_1.5.bb10
3 files changed, 15 insertions, 12 deletions
diff --git a/meta/recipes-extended/gzip/gzip.inc b/meta/recipes-extended/gzip/gzip.inc
index 1d608a6713..a4b1abe165 100644
--- a/meta/recipes-extended/gzip/gzip.inc
+++ b/meta/recipes-extended/gzip/gzip.inc
@@ -6,7 +6,7 @@ SECTION = "console/utils"
# change to GPLv3+ in 2007/07. Previous GPLv2 version is 1.3.12
LICENSE = "GPLv3+"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
- file://gzip.h;firstline=8;endline=20;md5=e2ec6b91fbe43a18f6081f3bbae46a01"
+ file://gzip.h;firstline=8;endline=20;md5=d31380638987e6789f06bc96a29a9a16"
SRC_URI = "${GNU_MIRROR}/gzip/${BP}.tar.gz"
@@ -22,5 +22,8 @@ do_install_append () {
inherit update-alternatives
-ALTERNATIVE_LINKS = "${base_bindir}/gunzip ${base_bindir}/gzip ${base_bindir}/zcat"
ALTERNATIVE_PRIORITY = "100"
+ALTERNATIVE_${PN} = "gunzip gzip zcat"
+ALTERNATIVE_LINK_NAME[gunzip] = "${base_bindir}/gunzip"
+ALTERNATIVE_LINK_NAME[gzip] = "${base_bindir}/gzip"
+ALTERNATIVE_LINK_NAME[zcat] = "${base_bindir}/zcat"
diff --git a/meta/recipes-extended/gzip/gzip_1.4.bb b/meta/recipes-extended/gzip/gzip_1.4.bb
deleted file mode 100644
index 54dd50a96b..0000000000
--- a/meta/recipes-extended/gzip/gzip_1.4.bb
+++ /dev/null
@@ -1,10 +0,0 @@
-require gzip.inc
-
-PR = "r2"
-
-NATIVE_PACKAGE_PATH_SUFFIX = "/${PN}"
-
-BBCLASSEXTEND = "native"
-
-SRC_URI[md5sum] = "e381b8506210c794278f5527cba0e765"
-SRC_URI[sha256sum] = "d166cfd3da380da1bd535633e8890bfb5664f9e68870a611d1dc01a3e9f711ee"
diff --git a/meta/recipes-extended/gzip/gzip_1.5.bb b/meta/recipes-extended/gzip/gzip_1.5.bb
new file mode 100644
index 0000000000..7a811e2bc4
--- /dev/null
+++ b/meta/recipes-extended/gzip/gzip_1.5.bb
@@ -0,0 +1,10 @@
+require gzip.inc
+
+PR = "r0"
+
+NATIVE_PACKAGE_PATH_SUFFIX = "/${PN}"
+
+BBCLASSEXTEND = "native"
+
+SRC_URI[md5sum] = "11b76536941ee1c0221fe6eefbcb32cb"
+SRC_URI[sha256sum] = "b5d56e8ffc9918e8c941fab56e04121194f9870adeeb859e09c09eac264035a3"