summaryrefslogtreecommitdiff
path: root/data/unzip/make.sh
diff options
context:
space:
mode:
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