From: Chris Larson Date: Tue, 9 Nov 2004 00:05:45 +0000 (+0000) Subject: Fix the zip build to obey our variables, so that the 'zip' package actually contains... X-Git-Tag: Release-2010-05/1~16346 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dbbcbe33ce88fdcf1b3379750fe58d0d32fd16b2;p=openembedded.git Fix the zip build to obey our variables, so that the 'zip' package actually contains TARGET binaries instead of NATIVE ones. BKrev: 419009d9Gs5ngGuLFOHNKwUuZ911Eg --- diff --git a/zip/zip_2.3.oe b/zip/zip_2.3.oe index 529c5a8025..7ca21268d5 100644 --- a/zip/zip_2.3.oe +++ b/zip/zip_2.3.oe @@ -1,11 +1,18 @@ SECTION = "console/utils" SRC_URI = "http://www.mirror.ac.uk/sites/ftp.info-zip.org/pub/infozip/src/zip23.tar.gz" +PR = "r1" + +EXTRA_OEMAKE = "'CC=${CC}' 'BIND=${CC}' 'AS=${AS}' 'CPP=${CPP}' \ + 'CFLAGS=-I. -DUNIX ${CFLAGS}' 'INSTALL=install' \ + 'BINFLAGS=0755' 'INSTALL_D=install -d'" do_compile() { - make -f unix/Makefile generic + oe_runmake -f unix/Makefile generic } do_install() { - make -f unix/Makefile install prefix=${D}${prefix} + oe_runmake -f unix/Makefile prefix=${D}${prefix} \ + BINDIR=${D}/${bindir} MANDIR=${D}/${mandir}/man1 \ + install }