Fix the zip build to obey our variables, so that the 'zip' package actually contains...
authorChris Larson <clarson@kergoth.com>
Tue, 9 Nov 2004 00:05:45 +0000 (00:05 +0000)
committerChris Larson <clarson@kergoth.com>
Tue, 9 Nov 2004 00:05:45 +0000 (00:05 +0000)
BKrev: 419009d9Gs5ngGuLFOHNKwUuZ911Eg

zip/zip_2.3.oe

index 529c5a8..7ca2126 100644 (file)
@@ -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
 }