From a5dd96fd2bb01a5685c1c6effa348105e4c6fc4b Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Sun, 4 Oct 2020 22:57:38 +0300 Subject: unzip: add new package at 6.0 --- extra/unzip/build | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 extra/unzip/build (limited to 'extra/unzip/build') 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 -- cgit v1.2.3