summaryrefslogtreecommitdiff
path: root/data/unzip/make.sh
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2019-06-18 11:38:22 -1000
committerSam Bingner <sam@bingner.com>2019-06-18 11:38:22 -1000
commit6a336ff55fd9e31188a04f8ee848309653135219 (patch)
tree5ccc0cca0eb8b3b3670c8d9b658873ed7ce48c68 /data/unzip/make.sh
parent193f32e39e93ea855bda21c551362d9117160ba3 (diff)
Update unzip to work with new ipsw files
Diffstat (limited to 'data/unzip/make.sh')
-rw-r--r--data/unzip/make.sh14
1 files changed, 12 insertions, 2 deletions
diff --git a/data/unzip/make.sh b/data/unzip/make.sh
index 57f85234b..cb67f5243 100644
--- a/data/unzip/make.sh
+++ b/data/unzip/make.sh
@@ -1,4 +1,14 @@
-pkg:setup
+pkg:extract
+cd unzip*
+for patch in $(cat ../debian/patches/series); do
+ patch -p1 < ../debian/patches/${patch}
+done
+pkg:patch
cp unix/Makefile .
-make unzips CC=${PKG_TARG}-gcc CF='-O3 -Wall -I. -DBSD -DUNIX' LF2=
+pkg:make unzips CC=${PKG_TARG}-gcc \
+ CF='-O3 -Wall -I. -DBSD -DUNIX -DACORN_FTYPE_NFS -DWILD_STOP_AT_DIR \
+ -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE \
+ -DNO_LCHMOD -DDATE_FORMAT=DF_YMD -DUSE_BZIP2 -DIZ_HAVE_UXUIDGID ' \
+ LF2= L_BZ2=-lbz2
+
pkg:usrbin unzip funzip unzipsfx