Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into...
[vuplus_openembedded] / recipes / zip / zip.inc
1 DESCRIPTION = "Archiver for .zip files"
2 SECTION = "console/utils"
3 LICENSE = "Info-ZIP"
4
5 SRC_URI = "http://ftp.info-zip.org/pub/infozip/src/zip${@bb.data.getVar('PV',d,1).replace('.', '')}.tar.gz"
6
7 EXTRA_OEMAKE = "'CC=${CC}' 'BIND=${CC}' 'AS=${CC} -c' 'CPP=${CPP}' \
8                 'CFLAGS=-I. -DUNIX ${CFLAGS}' 'INSTALL=install' \
9                 'BINFLAGS=0755' 'INSTALL_D=install -d'"
10
11 do_compile() {
12         oe_runmake -f unix/Makefile generic
13 }
14
15 do_install() {
16         oe_runmake -f unix/Makefile prefix=${D}${prefix} \
17                    BINDIR=${D}${bindir} MANDIR=${D}${mandir}/man1 \
18                    install
19 }