summaryrefslogtreecommitdiff
path: root/homebrew/p7zip
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/p7zip')
-rw-r--r--homebrew/p7zip/.beer27
-rw-r--r--homebrew/p7zip/.make.sh-auto4
-rw-r--r--homebrew/p7zip/_metadata/description1
-rw-r--r--homebrew/p7zip/_metadata/homepage1
-rw-r--r--homebrew/p7zip/_metadata/name1
-rw-r--r--homebrew/p7zip/_metadata/version1
-rwxr-xr-xhomebrew/p7zip/download.sh1
-rwxr-xr-xhomebrew/p7zip/patches.sh1
8 files changed, 37 insertions, 0 deletions
diff --git a/homebrew/p7zip/.beer b/homebrew/p7zip/.beer
new file mode 100644
index 000000000..ca2b9e7aa
--- /dev/null
+++ b/homebrew/p7zip/.beer
@@ -0,0 +1,27 @@
+{
+ "name": "P7zip",
+ "description": "7-Zip (high compression file archiver) implementation",
+ "url": "https://downloads.sourceforge.net/project/p7zip/p7zip/16.02/p7zip_16.02_src_all.tar.bz2",
+ "mirror": null,
+ "homepage": "https://p7zip.sourceforge.io/",
+ "depends": [],
+ "resource": [],
+ "conflicts": [],
+ "patches": [
+ {
+ "url": "https://deb.debian.org/debian/pool/main/p/p7zip/p7zip_16.02+dfsg-6.debian.tar.xz",
+ "strip": "1"
+ }
+ ],
+ "install": [
+ "mv \"makefile.macosx_llvm_64bits\", \"makefile.machine\"",
+ "system \"make\", \"all3\",",
+ "\"CC=#{ENV.cc} $(ALLFLAGS)\",",
+ "\"CXX=#{ENV.cxx} $(ALLFLAGS)\"",
+ "system \"make\", \"DEST_HOME=#{prefix}\",",
+ "\"DEST_MAN=#{man}\",",
+ "\"install\""
+ ],
+ "version": "16.02",
+ "file": "p7zip.rb"
+} \ No newline at end of file
diff --git a/homebrew/p7zip/.make.sh-auto b/homebrew/p7zip/.make.sh-auto
new file mode 100644
index 000000000..d50b2e16e
--- /dev/null
+++ b/homebrew/p7zip/.make.sh-auto
@@ -0,0 +1,4 @@
+pkg:setup
+mv "makefile.macosx_llvm_64bits", "makefile.machine"
+make all3 CC=${PKG_TARG}-clang $(ALLFLAGS) CXX=${PKG_TARG}-clang++ $(ALLFLAGS)
+make DEST_HOME=${PKG_TAPF} DEST_MAN=${PKG_TAPF}/share/man DESTDIR=${PKG_DEST} install
diff --git a/homebrew/p7zip/_metadata/description b/homebrew/p7zip/_metadata/description
new file mode 100644
index 000000000..cb2221e47
--- /dev/null
+++ b/homebrew/p7zip/_metadata/description
@@ -0,0 +1 @@
+7-Zip (high compression file archiver) implementation
diff --git a/homebrew/p7zip/_metadata/homepage b/homebrew/p7zip/_metadata/homepage
new file mode 100644
index 000000000..314f7080a
--- /dev/null
+++ b/homebrew/p7zip/_metadata/homepage
@@ -0,0 +1 @@
+https://p7zip.sourceforge.io/
diff --git a/homebrew/p7zip/_metadata/name b/homebrew/p7zip/_metadata/name
new file mode 100644
index 000000000..048b5d565
--- /dev/null
+++ b/homebrew/p7zip/_metadata/name
@@ -0,0 +1 @@
+P7zip
diff --git a/homebrew/p7zip/_metadata/version b/homebrew/p7zip/_metadata/version
new file mode 100644
index 000000000..43c4e9120
--- /dev/null
+++ b/homebrew/p7zip/_metadata/version
@@ -0,0 +1 @@
+16.02
diff --git a/homebrew/p7zip/download.sh b/homebrew/p7zip/download.sh
new file mode 100755
index 000000000..5ff3c027c
--- /dev/null
+++ b/homebrew/p7zip/download.sh
@@ -0,0 +1 @@
+wget https://downloads.sourceforge.net/project/p7zip/p7zip/16.02/p7zip_16.02_src_all.tar.bz2 \ No newline at end of file
diff --git a/homebrew/p7zip/patches.sh b/homebrew/p7zip/patches.sh
new file mode 100755
index 000000000..981126474
--- /dev/null
+++ b/homebrew/p7zip/patches.sh
@@ -0,0 +1 @@
+wget https://deb.debian.org/debian/pool/main/p/p7zip/p7zip_16.02+dfsg-6.debian.tar.xz