2013-12-19 15:13:01 +00:00
|
|
|
SUMMARY = "Utilities for extracting and viewing files in .zip archives"
|
2010-07-01 09:26:37 +00:00
|
|
|
HOMEPAGE = "http://www.info-zip.org"
|
2007-10-25 15:37:04 +00:00
|
|
|
SECTION = "console/utils"
|
2011-12-03 23:48:29 +00:00
|
|
|
LICENSE = "BSD-3-Clause"
|
2010-07-05 08:56:36 +00:00
|
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=94caec5a51ef55ef711ee4e8b1c69e29"
|
|
|
|
PE = "1"
|
2014-01-29 06:03:55 +00:00
|
|
|
PR = "r5"
|
2007-10-25 15:37:04 +00:00
|
|
|
|
2011-06-20 18:23:49 +00:00
|
|
|
SRC_URI = "ftp://ftp.info-zip.org/pub/infozip/src/unzip60.tgz \
|
2014-01-29 06:03:55 +00:00
|
|
|
file://avoid-strip.patch \
|
|
|
|
file://define-ldflags.patch"
|
2010-12-08 04:06:29 +00:00
|
|
|
|
|
|
|
SRC_URI[md5sum] = "62b490407489521db863b523a7f86375"
|
|
|
|
SRC_URI[sha256sum] = "036d96991646d0449ed0aa952e4fbe21b476ce994abc276e49d30e686708bd37"
|
2010-07-05 08:56:36 +00:00
|
|
|
S = "${WORKDIR}/unzip60"
|
2007-10-25 15:37:04 +00:00
|
|
|
|
2012-11-15 18:41:00 +00:00
|
|
|
# Makefile uses CF_NOOPT instead of CFLAGS. We lifted the values from
|
|
|
|
# Makefile and add CFLAGS. Optimization will be overriden by unzip
|
|
|
|
# configure to be -O3.
|
|
|
|
#
|
|
|
|
EXTRA_OEMAKE += "STRIP=true LF2='' \
|
|
|
|
'CF_NOOPT=-I. -Ibzip2 -DUNIX ${CFLAGS}'"
|
2011-06-20 18:23:49 +00:00
|
|
|
|
2007-10-25 15:37:04 +00:00
|
|
|
export LD = "${CC}"
|
2012-10-27 08:48:17 +00:00
|
|
|
LD_class-native = "${CC}"
|
2007-10-25 15:37:04 +00:00
|
|
|
|
|
|
|
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}
|
2012-03-16 14:56:48 +00:00
|
|
|
rmdir ${D}${prefix}/man/
|
2007-10-25 15:37:04 +00:00
|
|
|
}
|
|
|
|
|
2009-11-04 15:52:03 +00:00
|
|
|
BBCLASSEXTEND = "native"
|