From dbbcbe33ce88fdcf1b3379750fe58d0d32fd16b2 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Tue, 9 Nov 2004 00:05:45 +0000 Subject: Fix the zip build to obey our variables, so that the 'zip' package actually contains TARGET binaries instead of NATIVE ones. BKrev: 419009d9Gs5ngGuLFOHNKwUuZ911Eg --- zip/zip_2.3.oe | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) 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 } -- cgit v1.2.3