unzip: use BBCLASSEXTEND now
[openembedded.git] / recipes / unzip / unzip_552.bb
blobde58ccd206e96d221031b957efe9508eda0ec3ee
1 DESCRIPTION = "A (de)compression library for the ZIP format"
2 SECTION = "console/utils"
3 LICENSE = "Info-ZIP"
4 PR = "r1"
5 SRC_URI = "${SOURCEFORGE_MIRROR}/project/infozip/UnZip%205.x%20and%20earlier/5.52/unzip${PV}.tar.gz"
6 S = "${WORKDIR}/unzip-5.52"
8 BBCLASSEXTEND = "native"
10 NATIVE_INSTALL_WORKS = "1"
12 EXTRA_OEMAKE += "'LD=${CCLD} ${LDFLAGS}'"
14 do_compile() {
15 oe_runmake -f unix/Makefile generic
18 do_install() {
19 oe_runmake -f unix/Makefile install prefix=${D}${prefix}
20 install -d ${D}${mandir}
21 mv ${D}${prefix}/man/* ${D}${mandir}
24 do_stage_virtclass-native() {
25 install -d ${STAGING_BINDIR}
26 install unzip ${STAGING_BINDIR}
29 SRC_URI[md5sum] = "9d23919999d6eac9217d1f41472034a9"
30 SRC_URI[sha256sum] = "145d95e2ef1ef9add2e3c97d1340907e33ab8749eb1235372e7f0b7af600a8e9"