commit a5dd96fd2bb01a5685c1c6effa348105e4c6fc4b
parent 7a830f8673ce6656f124127869b5d98dd0a3135a
Author: Cem Keylan <cem@ckyln.com>
Date: Sun, 4 Oct 2020 22:57:38 +0300
unzip: add new package at 6.0
Diffstat:
6 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/extra/unzip/build 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
@@ -0,0 +1 @@
+036d96991646d0449ed0aa952e4fbe21b476ce994abc276e49d30e686708bd37 unzip60.tar.gz
diff --git a/extra/unzip/depends b/extra/unzip/depends
@@ -0,0 +1 @@
+bzip2 make
diff --git a/extra/unzip/sources 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
@@ -0,0 +1,3 @@
+#!/bin/sh -e
+
+make -f unix/Makefile test
diff --git a/extra/unzip/version b/extra/unzip/version
@@ -0,0 +1 @@
+6.0 1