mirror of
https://git.yoctoproject.org/poky
synced 2026-09-14 21:49:33 +02:00
unzip: Convert to use BBCLASSEXTEND
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
@@ -1,8 +0,0 @@
|
|||||||
SECTION = "console/utils"
|
|
||||||
inherit native
|
|
||||||
require unzip_${PV}.bb
|
|
||||||
|
|
||||||
do_stage() {
|
|
||||||
install -d ${STAGING_BINDIR}
|
|
||||||
install unzip ${STAGING_BINDIR}
|
|
||||||
}
|
|
||||||
@@ -7,6 +7,7 @@ SRC_URI = "http://ftp.info-zip.org/pub/infozip/src/unzip${PV}.tar.gz"
|
|||||||
S = "${WORKDIR}/unzip-5.52"
|
S = "${WORKDIR}/unzip-5.52"
|
||||||
|
|
||||||
export LD = "${CC}"
|
export LD = "${CC}"
|
||||||
|
LD_virtclass-native = "${CC}"
|
||||||
|
|
||||||
do_compile() {
|
do_compile() {
|
||||||
oe_runmake -f unix/Makefile generic
|
oe_runmake -f unix/Makefile generic
|
||||||
@@ -18,4 +19,5 @@ do_install() {
|
|||||||
mv ${D}${prefix}/man/* ${D}${mandir}
|
mv ${D}${prefix}/man/* ${D}${mandir}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
BBCLASSEXTEND = "native"
|
||||||
|
NATIVE_INSTALL_WORKS = "1"
|
||||||
|
|||||||
Reference in New Issue
Block a user