diff options
-rwxr-xr-x | extra/unzip/build | 7 | ||||
-rw-r--r-- | extra/unzip/checksums | 1 | ||||
-rw-r--r-- | extra/unzip/depends | 1 | ||||
-rw-r--r-- | extra/unzip/sources | 1 | ||||
-rwxr-xr-x | extra/unzip/test | 3 | ||||
-rw-r--r-- | extra/unzip/version | 1 |
6 files changed, 14 insertions, 0 deletions
diff --git a/extra/unzip/build b/extra/unzip/build new file mode 100755 index 00000000..cf90f523 --- /dev/null +++ b/extra/unzip/build @@ -0,0 +1,7 @@ +#!/bin/sh -e + +export CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64 -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD -LDDATE_FORMAT=DF_YMD -DUSE_BZIP2 -DNATIVE" + +make -f unix/Makefile LOCAL_UNZIP="$CFLAGS" prefix=/usr LF2="" CC="${CC:-cc}" CFLAGS="$CFLAGS" LFLAGS1=-static D_USE_BZ2=-DUSE_BZIP2 L_BZ2=-lbz2 unzips + +make -f unix/Makefile prefix="$1/usr" MANDIR="$1/usr/share/man/man1" INSTALL_PROGRAM="install" install diff --git a/extra/unzip/checksums b/extra/unzip/checksums new file mode 100644 index 00000000..0b45b49d --- /dev/null +++ b/extra/unzip/checksums @@ -0,0 +1 @@ +036d96991646d0449ed0aa952e4fbe21b476ce994abc276e49d30e686708bd37 unzip60.tar.gz diff --git a/extra/unzip/depends b/extra/unzip/depends new file mode 100644 index 00000000..d4b5af04 --- /dev/null +++ b/extra/unzip/depends @@ -0,0 +1 @@ +bzip2 make diff --git a/extra/unzip/sources b/extra/unzip/sources new file mode 100644 index 00000000..8e834dae --- /dev/null +++ b/extra/unzip/sources @@ -0,0 +1 @@ +https://downloads.sourceforge.net/infozip/unzip60.tar.gz diff --git a/extra/unzip/test b/extra/unzip/test new file mode 100755 index 00000000..218dbc51 --- /dev/null +++ b/extra/unzip/test @@ -0,0 +1,3 @@ +#!/bin/sh -e + +make -f unix/Makefile test diff --git a/extra/unzip/version b/extra/unzip/version new file mode 100644 index 00000000..384681ba --- /dev/null +++ b/extra/unzip/version @@ -0,0 +1 @@ +6.0 1 |