diff options
Diffstat (limited to 'data/zip')
-rw-r--r-- | data/zip/make.sh | 5 | ||||
-rw-r--r-- | data/zip/strip.diff | 12 |
2 files changed, 15 insertions, 2 deletions
diff --git a/data/zip/make.sh b/data/zip/make.sh index 47e5baefa..48e47019b 100644 --- a/data/zip/make.sh +++ b/data/zip/make.sh @@ -1,5 +1,6 @@ unzip "${PKG_DATA}/zip232.zip" -d zip-2.32 -cd zip-2.32 +cd * +pkg:patch cp unix/Makefile . -make zips CC=arm-apple-darwin-gcc CPP='arm-apple-darwin-gcc -E' +make zips CC="${PKG_TARG}-gcc" CPP="${PKG_TARG}-gcc -E" pkg:usrbin zip zipcloak zipnote zipsplit diff --git a/data/zip/strip.diff b/data/zip/strip.diff new file mode 100644 index 000000000..d9f6b7b7a --- /dev/null +++ b/data/zip/strip.diff @@ -0,0 +1,12 @@ +diff -ru zip-2.32/unix/Makefile zip-2.32+iPhone/unix/Makefile +--- zip-2.32/unix/Makefile 2006-04-22 23:52:18.000000000 +0000 ++++ zip-2.32+iPhone/unix/Makefile 2008-04-04 19:00:57.000000000 +0000 +@@ -49,7 +49,7 @@ + CFLAGS_NOOPT = -I. -DUNIX $(LOCAL_ZIP) + CFLAGS = -O2 $(CFLAGS_NOOPT) + LFLAGS1 = +-LFLAGS2 = -s ++LFLAGS2 = + + # object file lists + OBJZ = zip.o zipfile.o zipup.o fileio.o util.o globals.o crypt.o ttyio.o \ |