summaryrefslogtreecommitdiffstats
path: root/meta/packages/zip
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/zip')
-rw-r--r--meta/packages/zip/zip-native_2.31.bb9
-rw-r--r--meta/packages/zip/zip_2.31.bb17
2 files changed, 26 insertions, 0 deletions
diff --git a/meta/packages/zip/zip-native_2.31.bb b/meta/packages/zip/zip-native_2.31.bb
new file mode 100644
index 0000000000..7cd0261827
--- /dev/null
+++ b/meta/packages/zip/zip-native_2.31.bb
@@ -0,0 +1,9 @@
1SECTION = "console/utils"
2inherit native
3include zip_${PV}.bb
4S = "${WORKDIR}/zip-${PV}"
5
6do_stage() {
7 install -d ${STAGING_BINDIR}
8 install zip zipnote zipsplit zipcloak ${STAGING_BINDIR}
9}
diff --git a/meta/packages/zip/zip_2.31.bb b/meta/packages/zip/zip_2.31.bb
new file mode 100644
index 0000000000..6c588a55e5
--- /dev/null
+++ b/meta/packages/zip/zip_2.31.bb
@@ -0,0 +1,17 @@
1SECTION = "console/utils"
2SRC_URI = "http://ftp.info-zip.org/pub/infozip/src/zip231.tar.gz"
3LICENSE = "Info-ZIP"
4EXTRA_OEMAKE = "'CC=${CC}' 'BIND=${CC}' 'AS=${CC} -c' 'CPP=${CPP}' \
5 'CFLAGS=-I. -DUNIX ${CFLAGS}' 'INSTALL=install' \
6 'BINFLAGS=0755' 'INSTALL_D=install -d'"
7
8do_compile() {
9 oe_runmake -f unix/Makefile generic
10}
11
12do_install() {
13 oe_runmake -f unix/Makefile prefix=${D}${prefix} \
14 BINDIR=${D}${bindir} MANDIR=${D}${mandir}/man1 \
15 install
16}
17