unzip: Convert to use BBCLASSEXTEND

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Richard Purdie 2009-11-04 15:52:03 +00:00
parent bb4dfbf39b
commit 91a071b469
2 changed files with 3 additions and 9 deletions

View File

@ -1,8 +0,0 @@
SECTION = "console/utils"
inherit native
require unzip_${PV}.bb
do_stage() {
install -d ${STAGING_BINDIR}
install unzip ${STAGING_BINDIR}
}

View File

@ -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"