diff options
Diffstat (limited to 'meta/packages/zip')
-rw-r--r-- | meta/packages/zip/zip-native_2.31.bb | 9 | ||||
-rw-r--r-- | meta/packages/zip/zip_2.31.bb | 17 |
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 @@ | |||
1 | SECTION = "console/utils" | ||
2 | inherit native | ||
3 | include zip_${PV}.bb | ||
4 | S = "${WORKDIR}/zip-${PV}" | ||
5 | |||
6 | do_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 @@ | |||
1 | SECTION = "console/utils" | ||
2 | SRC_URI = "http://ftp.info-zip.org/pub/infozip/src/zip231.tar.gz" | ||
3 | LICENSE = "Info-ZIP" | ||
4 | EXTRA_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 | |||
8 | do_compile() { | ||
9 | oe_runmake -f unix/Makefile generic | ||
10 | } | ||
11 | |||
12 | do_install() { | ||
13 | oe_runmake -f unix/Makefile prefix=${D}${prefix} \ | ||
14 | BINDIR=${D}${bindir} MANDIR=${D}${mandir}/man1 \ | ||
15 | install | ||
16 | } | ||
17 | |||