summaryrefslogtreecommitdiff
path: root/homebrew/unzip
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/unzip')
-rw-r--r--homebrew/unzip/.beer28
-rw-r--r--homebrew/unzip/.make.sh-auto3
-rw-r--r--homebrew/unzip/_metadata/description1
-rw-r--r--homebrew/unzip/_metadata/homepage1
-rw-r--r--homebrew/unzip/_metadata/name1
-rw-r--r--homebrew/unzip/_metadata/version1
-rwxr-xr-xhomebrew/unzip/download.sh1
-rwxr-xr-xhomebrew/unzip/patches.sh1
8 files changed, 37 insertions, 0 deletions
diff --git a/homebrew/unzip/.beer b/homebrew/unzip/.beer
new file mode 100644
index 000000000..dcbebe5a1
--- /dev/null
+++ b/homebrew/unzip/.beer
@@ -0,0 +1,28 @@
+{
+ "name": "Unzip",
+ "description": "Extraction utility for .zip compressed archives",
+ "url": "https://downloads.sourceforge.net/project/infozip/UnZip%206.x%20%28latest%29/UnZip%206.0/unzip60.tar.gz",
+ "mirror": null,
+ "homepage": "https://infozip.sourceforge.io/UnZip.html",
+ "depends": [],
+ "resource": [],
+ "conflicts": [],
+ "patches": [
+ {
+ "url": "https://deb.debian.org/debian/pool/main/u/unzip/unzip_6.0-22.debian.tar.xz",
+ "strip": "1"
+ }
+ ],
+ "install": [
+ "system \"make\", \"-f\", \"unix/Makefile\",",
+ "\"CC=#{ENV.cc}\",",
+ "\"LOC=-DLARGE_FILE_SUPPORT\",",
+ "\"D_USE_BZ2=-DUSE_BZIP2\",",
+ "\"L_BZ2=-lbz2\",",
+ "\"macosx\",",
+ "\"LFLAGS1=-liconv\"",
+ "system \"make\", \"prefix=#{prefix}\", \"MANDIR=#{man1}\", \"install\""
+ ],
+ "version": "206.0",
+ "file": "unzip.rb"
+} \ No newline at end of file
diff --git a/homebrew/unzip/.make.sh-auto b/homebrew/unzip/.make.sh-auto
new file mode 100644
index 000000000..e5fe3b585
--- /dev/null
+++ b/homebrew/unzip/.make.sh-auto
@@ -0,0 +1,3 @@
+pkg:setup
+make -f unix/Makefile CC=${PKG_TARG}-clang LOC=-DLARGE_FILE_SUPPORT D_USE_BZ2=-DUSE_BZIP2 L_BZ2=-lbz2 macosx LFLAGS1=-liconv
+make prefix=${PKG_TAPF} MANDIR=#{man1} DESTDIR=${PKG_DEST} install
diff --git a/homebrew/unzip/_metadata/description b/homebrew/unzip/_metadata/description
new file mode 100644
index 000000000..fb272724f
--- /dev/null
+++ b/homebrew/unzip/_metadata/description
@@ -0,0 +1 @@
+Extraction utility for .zip compressed archives
diff --git a/homebrew/unzip/_metadata/homepage b/homebrew/unzip/_metadata/homepage
new file mode 100644
index 000000000..43e3c3441
--- /dev/null
+++ b/homebrew/unzip/_metadata/homepage
@@ -0,0 +1 @@
+https://infozip.sourceforge.io/UnZip.html
diff --git a/homebrew/unzip/_metadata/name b/homebrew/unzip/_metadata/name
new file mode 100644
index 000000000..8ce0622dd
--- /dev/null
+++ b/homebrew/unzip/_metadata/name
@@ -0,0 +1 @@
+Unzip
diff --git a/homebrew/unzip/_metadata/version b/homebrew/unzip/_metadata/version
new file mode 100644
index 000000000..2b2a14517
--- /dev/null
+++ b/homebrew/unzip/_metadata/version
@@ -0,0 +1 @@
+206.0
diff --git a/homebrew/unzip/download.sh b/homebrew/unzip/download.sh
new file mode 100755
index 000000000..c85c6a9a8
--- /dev/null
+++ b/homebrew/unzip/download.sh
@@ -0,0 +1 @@
+wget https://downloads.sourceforge.net/project/infozip/UnZip%206.x%20%28latest%29/UnZip%206.0/unzip60.tar.gz \ No newline at end of file
diff --git a/homebrew/unzip/patches.sh b/homebrew/unzip/patches.sh
new file mode 100755
index 000000000..ad519e90b
--- /dev/null
+++ b/homebrew/unzip/patches.sh
@@ -0,0 +1 @@
+wget https://deb.debian.org/debian/pool/main/u/unzip/unzip_6.0-22.debian.tar.xz