From b982f85eb0fc640f25468c41ddf87d1ae827f417 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Wed, 4 Apr 2007 16:20:39 +0000 Subject: [PATCH] zip: updated to 2.32 (from OE) and cleaned git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1437 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/packages/zip/{zip-native_2.31.bb => zip-native_2.32.bb} | 5 +++-- meta/packages/zip/{zip_2.31.bb => zip.inc} | 6 ++++-- meta/packages/zip/zip_2.32.bb | 3 +++ 3 files changed, 10 insertions(+), 4 deletions(-) rename meta/packages/zip/{zip-native_2.31.bb => zip-native_2.32.bb} (86%) rename meta/packages/zip/{zip_2.31.bb => zip.inc} (73%) create mode 100644 meta/packages/zip/zip_2.32.bb diff --git a/meta/packages/zip/zip-native_2.31.bb b/meta/packages/zip/zip-native_2.32.bb 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 --- a/meta/packages/zip/zip-native_2.31.bb +++ b/meta/packages/zip/zip-native_2.32.bb @@ -1,6 +1,7 @@ -SECTION = "console/utils" -inherit native require zip_${PV}.bb + +inherit native + S = "${WORKDIR}/zip-${PV}" do_stage() { diff --git a/meta/packages/zip/zip_2.31.bb b/meta/packages/zip/zip.inc similarity index 73% rename from meta/packages/zip/zip_2.31.bb rename to meta/packages/zip/zip.inc index 6c588a5..8d04bd5 100644 --- a/meta/packages/zip/zip_2.31.bb +++ b/meta/packages/zip/zip.inc @@ -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 index 0000000..4e01db8 --- /dev/null +++ b/meta/packages/zip/zip_2.32.bb @@ -0,0 +1,3 @@ +require zip.inc + +PR="r1" -- 2.7.4