summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
Diffstat (limited to 'recipes')
-rw-r--r--recipes/zip/zip-native_2.32.bb13
-rw-r--r--recipes/zip/zip.inc4
2 files changed, 4 insertions, 13 deletions
diff --git a/recipes/zip/zip-native_2.32.bb b/recipes/zip/zip-native_2.32.bb
deleted file mode 100644
index fa5d8210b5..0000000000
--- a/recipes/zip/zip-native_2.32.bb
+++ /dev/null
@@ -1,13 +0,0 @@
-require zip_${PV}.bb
-
-inherit native
-
-S = "${WORKDIR}/zip-${PV}"
-
-do_stage() {
- install -d ${STAGING_BINDIR}
- install zip zipnote zipsplit zipcloak ${STAGING_BINDIR}
-}
-
-SRC_URI[md5sum] = "8a4da4460386e324debe97f3b7fe4d96"
-SRC_URI[sha256sum] = "d0d3743f732a9baa162f80d0c4567b9c545b41a3385825042113810f2a56eb2f"
diff --git a/recipes/zip/zip.inc b/recipes/zip/zip.inc
index 0ac49139f4..3ac8ce8c2a 100644
--- a/recipes/zip/zip.inc
+++ b/recipes/zip/zip.inc
@@ -4,6 +4,10 @@ LICENSE = "Info-ZIP"
SRC_URI = "ftp://ftp.info-zip.org/pub/infozip/src/zip${@bb.data.getVar('PV',d,1).replace('.', '')}.tar.gz"
+BBCLASSEXTEND = "native"
+
+NATIVE_INSTALL_WORKS = "1"
+
EXTRA_OEMAKE = "'CC=${CC}' 'BIND=${CC} ${LDFLAGS}' 'AS=${CC} -c' 'CPP=${CPP}' \
'CFLAGS=-I. -DUNIX ${CFLAGS} ${LDFLAGS}' 'LFLAGS1=${LDFLAGS}' 'INSTALL=install' \
'BINFLAGS=0755' 'INSTALL_D=install -d'"