From: Richard Purdie Date: Wed, 4 Nov 2009 15:52:03 +0000 (+0000) Subject: unzip: Convert to use BBCLASSEXTEND X-Git-Tag: 2011-1~6852 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=91a071b469e5e2bfad1eee6e5e648b4c7ae101f6;p=openembedded-core.git unzip: Convert to use BBCLASSEXTEND Signed-off-by: Richard Purdie --- diff --git a/meta/packages/unzip/unzip-native_552.bb b/meta/packages/unzip/unzip-native_552.bb deleted file mode 100644 index 1d4b18cf42..0000000000 --- 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 2f06e1b1c6..84e4fd4a73 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"