summaryrefslogtreecommitdiff
path: root/homebrew/plzip
diff options
context:
space:
mode:
authorMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-20 20:49:46 -0500
committerMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-23 20:18:47 -0500
commit12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch)
tree352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/plzip
parenta2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (diff)
Ported in the homebrew-marauder for a hacky update/import system.
TODO: Maybe add a license & fix up messy code.
Diffstat (limited to 'homebrew/plzip')
-rw-r--r--homebrew/plzip/.beer30
-rw-r--r--homebrew/plzip/.make.sh-auto6
-rw-r--r--homebrew/plzip/_metadata/description1
-rw-r--r--homebrew/plzip/_metadata/homepage1
-rw-r--r--homebrew/plzip/_metadata/name1
-rw-r--r--homebrew/plzip/_metadata/version1
-rwxr-xr-xhomebrew/plzip/download.sh1
-rwxr-xr-xhomebrew/plzip/patches.sh1
8 files changed, 42 insertions, 0 deletions
diff --git a/homebrew/plzip/.beer b/homebrew/plzip/.beer
new file mode 100644
index 000000000..d93d41f87
--- /dev/null
+++ b/homebrew/plzip/.beer
@@ -0,0 +1,30 @@
+{
+ "name": "Plzip",
+ "description": "Data compressor",
+ "url": "https://download.savannah.gnu.org/releases/lzip/plzip/plzip-1.7.tar.gz",
+ "mirror": null,
+ "homepage": "https://www.nongnu.org/lzip/plzip.html",
+ "depends": [
+ {
+ "depend": "lzlib",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [
+ {
+ "url": "https://raw.githubusercontent.com/Homebrew/formula-patches/68e2af8/plzip/pthread.diff",
+ "strip": "1"
+ }
+ ],
+ "install": [
+ "system \"./configure\", \"--prefix=#{prefix}\"",
+ "system \"make\"",
+ "system \"make\", \"check\"",
+ "ENV.deparallelize",
+ "system \"make\", \"install\""
+ ],
+ "version": "1.7",
+ "file": "plzip.rb"
+} \ No newline at end of file
diff --git a/homebrew/plzip/.make.sh-auto b/homebrew/plzip/.make.sh-auto
new file mode 100644
index 000000000..78da0a505
--- /dev/null
+++ b/homebrew/plzip/.make.sh-auto
@@ -0,0 +1,6 @@
+pkg:setup
+pkg:configure
+make
+make check
+ENV.deparallelize
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/plzip/_metadata/description b/homebrew/plzip/_metadata/description
new file mode 100644
index 000000000..c335c217e
--- /dev/null
+++ b/homebrew/plzip/_metadata/description
@@ -0,0 +1 @@
+Data compressor
diff --git a/homebrew/plzip/_metadata/homepage b/homebrew/plzip/_metadata/homepage
new file mode 100644
index 000000000..9c51b1a66
--- /dev/null
+++ b/homebrew/plzip/_metadata/homepage
@@ -0,0 +1 @@
+https://www.nongnu.org/lzip/plzip.html
diff --git a/homebrew/plzip/_metadata/name b/homebrew/plzip/_metadata/name
new file mode 100644
index 000000000..bd1de1bca
--- /dev/null
+++ b/homebrew/plzip/_metadata/name
@@ -0,0 +1 @@
+Plzip
diff --git a/homebrew/plzip/_metadata/version b/homebrew/plzip/_metadata/version
new file mode 100644
index 000000000..d3bdbdf1f
--- /dev/null
+++ b/homebrew/plzip/_metadata/version
@@ -0,0 +1 @@
+1.7
diff --git a/homebrew/plzip/download.sh b/homebrew/plzip/download.sh
new file mode 100755
index 000000000..38e2071a3
--- /dev/null
+++ b/homebrew/plzip/download.sh
@@ -0,0 +1 @@
+wget https://download.savannah.gnu.org/releases/lzip/plzip/plzip-1.7.tar.gz \ No newline at end of file
diff --git a/homebrew/plzip/patches.sh b/homebrew/plzip/patches.sh
new file mode 100755
index 000000000..0c207fed8
--- /dev/null
+++ b/homebrew/plzip/patches.sh
@@ -0,0 +1 @@
+wget https://raw.githubusercontent.com/Homebrew/formula-patches/68e2af8/plzip/pthread.diff