From 91a071b469e5e2bfad1eee6e5e648b4c7ae101f6 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 4 Nov 2009 15:52:03 +0000 Subject: unzip: Convert to use BBCLASSEXTEND Signed-off-by: Richard Purdie --- meta/packages/unzip/unzip-native_552.bb | 8 -------- meta/packages/unzip/unzip_552.bb | 4 +++- 2 files changed, 3 insertions(+), 9 deletions(-) delete mode 100644 meta/packages/unzip/unzip-native_552.bb (limited to 'meta') 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" -- cgit v1.2.3