zip: updated to 2.32 (from OE) and cleaned
authorMarcin Juszkiewicz <hrw@openedhand.com>
Wed, 4 Apr 2007 16:20:39 +0000 (16:20 +0000)
committerMarcin Juszkiewicz <hrw@openedhand.com>
Wed, 4 Apr 2007 16:20:39 +0000 (16:20 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1437 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/packages/zip/zip-native_2.32.bb [moved from meta/packages/zip/zip-native_2.31.bb with 86% similarity]
meta/packages/zip/zip.inc [moved from meta/packages/zip/zip_2.31.bb with 73% similarity]
meta/packages/zip/zip_2.32.bb [new file with mode: 0644]

similarity index 86%
rename from meta/packages/zip/zip-native_2.31.bb
rename to meta/packages/zip/zip-native_2.32.bb
index fde61ef..cfa4272 100644 (file)
@@ -1,6 +1,7 @@
-SECTION = "console/utils"
-inherit native
 require zip_${PV}.bb
+
+inherit native
+
 S = "${WORKDIR}/zip-${PV}"
 
 do_stage() {
similarity index 73%
rename from meta/packages/zip/zip_2.31.bb
rename to meta/packages/zip/zip.inc
index 6c588a5..8d04bd5 100644 (file)
@@ -1,6 +1,9 @@
+DESCRIPTION = "Archiver for .zip files"
 SECTION = "console/utils"
-SRC_URI = "http://ftp.info-zip.org/pub/infozip/src/zip231.tar.gz"
 LICENSE = "Info-ZIP"
+
+SRC_URI = "http://ftp.info-zip.org/pub/infozip/src/zip${@bb.data.getVar('PV',d,1).replace('.', '')}.tar.gz"
+
 EXTRA_OEMAKE = "'CC=${CC}' 'BIND=${CC}' 'AS=${CC} -c' 'CPP=${CPP}' \
                'CFLAGS=-I. -DUNIX ${CFLAGS}' 'INSTALL=install' \
                'BINFLAGS=0755' 'INSTALL_D=install -d'"
@@ -14,4 +17,3 @@ do_install() {
                   BINDIR=${D}${bindir} MANDIR=${D}${mandir}/man1 \
                   install
 }
-
diff --git a/meta/packages/zip/zip_2.32.bb b/meta/packages/zip/zip_2.32.bb
new file mode 100644 (file)
index 0000000..4e01db8
--- /dev/null
@@ -0,0 +1,3 @@
+require zip.inc
+
+PR="r1"