generic-poky/meta/packages/unzip/unzip_552.bb

24 lines
530 B
BlitzBasic
Raw Normal View History

DESCRIPTION = "A (de)compression library for the ZIP format"
SECTION = "console/utils"
LICENSE = "Info-ZIP"
PR = "r1"
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
}
do_install() {
oe_runmake -f unix/Makefile install prefix=${D}${prefix}
install -d ${D}${mandir}
mv ${D}${prefix}/man/* ${D}${mandir}
}
BBCLASSEXTEND = "native"
NATIVE_INSTALL_WORKS = "1"