2007-04-04 16:20:39 +00:00
|
|
|
DESCRIPTION = "Archiver for .zip files"
|
2010-07-06 06:00:57 +00:00
|
|
|
HOMEPAGE = "http://www.info-zip.org"
|
2005-09-30 14:28:18 +00:00
|
|
|
SECTION = "console/utils"
|
2010-07-06 06:00:57 +00:00
|
|
|
|
2011-12-03 23:48:29 +00:00
|
|
|
LICENSE = "BSD-3-Clause"
|
2010-07-06 06:00:57 +00:00
|
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=04d43c5d70b496c032308106e26ae17d"
|
2007-04-04 16:20:39 +00:00
|
|
|
|
Convert to use direct access to the data store (instead of bb.data.*Var*())
This is the result of running the following over the metadata:
sed \
-e 's:bb.data.\(setVar([^,()]*,[^,()]*\), *\([^ )]*\) *):\2.\1):g' \
-e 's:bb.data.\(setVarFlag([^,()]*,[^,()]*,[^,()]*\), *\([^) ]*\) *):\2.\1):g' \
-e 's:bb.data.\(getVar([^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \
-e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \
-e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^() ]*\) *):\2.\1):g' \
-e 's:bb.data.\(getVar([^,()]*\), *\([^) ]*\) *):\2.\1):g' \
-i `grep -ril bb.data *`
(From OE-Core rev: b22831fd63164c4db9c0b72934d7d734a6585251)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-09 15:00:01 +00:00
|
|
|
SRC_URI = "ftp://ftp.info-zip.org/pub/infozip/src/zip${@d.getVar('PV',1).replace('.', '')}.tgz"
|
2007-04-04 16:20:39 +00:00
|
|
|
|
2005-09-30 14:28:18 +00:00
|
|
|
EXTRA_OEMAKE = "'CC=${CC}' 'BIND=${CC}' 'AS=${CC} -c' 'CPP=${CPP}' \
|
|
|
|
'CFLAGS=-I. -DUNIX ${CFLAGS}' 'INSTALL=install' \
|
|
|
|
'BINFLAGS=0755' 'INSTALL_D=install -d'"
|
|
|
|
|
|
|
|
do_compile() {
|
2013-02-12 04:42:12 +00:00
|
|
|
oe_runmake -f unix/Makefile flags IZ_BZIP2=no_such_directory
|
2012-12-05 15:02:10 +00:00
|
|
|
sed -i 's#LFLAGS1=""#LFLAGS1="${LDFLAGS}"#' flags
|
2013-02-12 04:42:12 +00:00
|
|
|
oe_runmake -f unix/Makefile generic IZ_BZIP2=no_such_directory
|
2005-09-30 14:28:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
oe_runmake -f unix/Makefile prefix=${D}${prefix} \
|
|
|
|
BINDIR=${D}${bindir} MANDIR=${D}${mandir}/man1 \
|
|
|
|
install
|
|
|
|
}
|
2009-11-04 15:50:54 +00:00
|
|
|
|
|
|
|
BBCLASSEXTEND = "native"
|