summaryrefslogtreecommitdiff
path: root/meta/packages
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/unzip/unzip-native_552.bb8
-rw-r--r--meta/packages/unzip/unzip_552.bb4
2 files changed, 3 insertions, 9 deletions
diff --git a/meta/packages/unzip/unzip-native_552.bb b/meta/packages/unzip/unzip-native_552.bb
deleted file mode 100644
index 1d4b18cf4..000000000
--- a/meta/packages/unzip/unzip-native_552.bb
+++ /dev/null
@@ -1,8 +0,0 @@
-SECTION = "console/utils"
-inherit native
-require unzip_${PV}.bb
-
-do_stage() {
- install -d ${STAGING_BINDIR}
- install unzip ${STAGING_BINDIR}
-}
diff --git a/meta/packages/unzip/unzip_552.bb b/meta/packages/unzip/unzip_552.bb
index 2f06e1b1c..84e4fd4a7 100644
--- a/meta/packages/unzip/unzip_552.bb
+++ b/meta/packages/unzip/unzip_552.bb
@@ -7,6 +7,7 @@ SRC_URI = "http://ftp.info-zip.org/pub/infozip/src/unzip${PV}.tar.gz"
S = "${WORKDIR}/unzip-5.52"
export LD = "${CC}"
+LD_virtclass-native = "${CC}"
do_compile() {
oe_runmake -f unix/Makefile generic
@@ -18,4 +19,5 @@ do_install() {
mv ${D}${prefix}/man/* ${D}${mandir}
}
-
+BBCLASSEXTEND = "native"
+NATIVE_INSTALL_WORKS = "1"