From 0976252a53292d1724a4234e4196ce6a6f16c5e2 Mon Sep 17 00:00:00 2001
From: Qing He <qing.he@intel.com>
Date: Mon, 5 Jul 2010 16:56:36 +0800
Subject: unzip: upgrade to version 6.0

from 5.52  (552 in poky)
update license

changes:
  - bump PE so that 1:6.0 >> 552

Signed-off-by: Qing He <qing.he@intel.com>
---
 meta/packages/unzip/unzip_552.bb | 24 ------------------------
 meta/packages/unzip/unzip_6.0.bb | 26 ++++++++++++++++++++++++++
 2 files changed, 26 insertions(+), 24 deletions(-)
 delete mode 100644 meta/packages/unzip/unzip_552.bb
 create mode 100644 meta/packages/unzip/unzip_6.0.bb

(limited to 'meta/packages')

diff --git a/meta/packages/unzip/unzip_552.bb b/meta/packages/unzip/unzip_552.bb
deleted file mode 100644
index 08d94bc26..000000000
--- a/meta/packages/unzip/unzip_552.bb
+++ /dev/null
@@ -1,24 +0,0 @@
-DESCRIPTION = "A (de)compression library for the ZIP format"
-HOMEPAGE = "http://www.info-zip.org"
-SECTION = "console/utils"
-LICENSE = "Info-ZIP"
-PR = "r1"
-
-SRC_URI = "http://ftp.info-zip.org/pub/infozip/src/unzip${PV}.tar.gz"
-S = "${WORKDIR}/unzip-5.52"
-
-export LD = "${CC}"
-LD_virtclass-native = "${CC}"
-
-do_compile() {
-        oe_runmake -f unix/Makefile generic
-}
-
-do_install() {
-        oe_runmake -f unix/Makefile install prefix=${D}${prefix}
-	install -d ${D}${mandir}
-	mv ${D}${prefix}/man/* ${D}${mandir}
-}
-
-BBCLASSEXTEND = "native"
-NATIVE_INSTALL_WORKS = "1"
diff --git a/meta/packages/unzip/unzip_6.0.bb b/meta/packages/unzip/unzip_6.0.bb
new file mode 100644
index 000000000..7b0f9dc72
--- /dev/null
+++ b/meta/packages/unzip/unzip_6.0.bb
@@ -0,0 +1,26 @@
+DESCRIPTION = "A (de)compression library for the ZIP format"
+HOMEPAGE = "http://www.info-zip.org"
+SECTION = "console/utils"
+LICENSE = "Info-ZIP"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=94caec5a51ef55ef711ee4e8b1c69e29"
+PE = "1"
+PR = "r0"
+
+SRC_URI = "ftp://ftp.info-zip.org/pub/infozip/src/unzip60.tgz"
+S = "${WORKDIR}/unzip60"
+
+export LD = "${CC}"
+LD_virtclass-native = "${CC}"
+
+do_compile() {
+        oe_runmake -f unix/Makefile generic
+}
+
+do_install() {
+        oe_runmake -f unix/Makefile install prefix=${D}${prefix}
+	install -d ${D}${mandir}
+	mv ${D}${prefix}/man/* ${D}${mandir}
+}
+
+BBCLASSEXTEND = "native"
+NATIVE_INSTALL_WORKS = "1"
-- 
cgit v1.2.3