summaryrefslogtreecommitdiff
path: root/homebrew/pixz
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/pixz')
-rw-r--r--homebrew/pixz/.beer43
-rw-r--r--homebrew/pixz/.make.sh-auto8
-rw-r--r--homebrew/pixz/_metadata/description1
-rw-r--r--homebrew/pixz/_metadata/homepage1
-rw-r--r--homebrew/pixz/_metadata/name1
-rw-r--r--homebrew/pixz/_metadata/version1
-rwxr-xr-xhomebrew/pixz/download.sh1
7 files changed, 56 insertions, 0 deletions
diff --git a/homebrew/pixz/.beer b/homebrew/pixz/.beer
new file mode 100644
index 000000000..63a0f1354
--- /dev/null
+++ b/homebrew/pixz/.beer
@@ -0,0 +1,43 @@
+{
+ "name": "Pixz",
+ "description": "Parallel, indexed, xz compressor",
+ "url": "https://github.com/vasi/pixz/releases/download/v1.0.6/pixz-1.0.6.tar.gz",
+ "mirror": null,
+ "homepage": "https://github.com/vasi/pixz",
+ "depends": [
+ {
+ "depend": "asciidoc",
+ "build-depend": true
+ },
+ {
+ "depend": "docbook",
+ "build-depend": true
+ },
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "libarchive",
+ "build-depend": false
+ },
+ {
+ "depend": "xz",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "ENV.prepend_path \"PKG_CONFIG_PATH\", Formula[\"libarchive\"].opt_lib/\"pkgconfig\"",
+ "system \"./configure\", \"--prefix=#{prefix}\"",
+ "system \"make\"",
+ "system \"make\", \"install\"",
+ "ENV[\"XML_CATALOG_FILES\"] = \"#{etc}/xml/catalog\"",
+ "system \"a2x\", \"--doctype\", \"manpage\", \"--format\", \"manpage\", \"src/pixz.1.asciidoc\"",
+ "man1.install \"src/pixz.1\""
+ ],
+ "version": "1.0.6",
+ "file": "pixz.rb"
+} \ No newline at end of file
diff --git a/homebrew/pixz/.make.sh-auto b/homebrew/pixz/.make.sh-auto
new file mode 100644
index 000000000..ff2da2134
--- /dev/null
+++ b/homebrew/pixz/.make.sh-auto
@@ -0,0 +1,8 @@
+pkg:setup
+ENV.prepend_path "PKG_CONFIG_PATH", Formula["libarchive"].opt_lib/"pkgconfig"
+pkg:configure
+make
+make DESTDIR=${PKG_DEST} install
+ENV["XML_CATALOG_FILES"] = "#{etc}/xml/catalog"
+a2x --doctype manpage --format manpage src/pixz.1.asciidoc
+man1.install "src/pixz.1"
diff --git a/homebrew/pixz/_metadata/description b/homebrew/pixz/_metadata/description
new file mode 100644
index 000000000..cd8a2088f
--- /dev/null
+++ b/homebrew/pixz/_metadata/description
@@ -0,0 +1 @@
+Parallel, indexed, xz compressor
diff --git a/homebrew/pixz/_metadata/homepage b/homebrew/pixz/_metadata/homepage
new file mode 100644
index 000000000..91bc87ecf
--- /dev/null
+++ b/homebrew/pixz/_metadata/homepage
@@ -0,0 +1 @@
+https://github.com/vasi/pixz
diff --git a/homebrew/pixz/_metadata/name b/homebrew/pixz/_metadata/name
new file mode 100644
index 000000000..db99520e9
--- /dev/null
+++ b/homebrew/pixz/_metadata/name
@@ -0,0 +1 @@
+Pixz
diff --git a/homebrew/pixz/_metadata/version b/homebrew/pixz/_metadata/version
new file mode 100644
index 000000000..af0b7ddbf
--- /dev/null
+++ b/homebrew/pixz/_metadata/version
@@ -0,0 +1 @@
+1.0.6
diff --git a/homebrew/pixz/download.sh b/homebrew/pixz/download.sh
new file mode 100755
index 000000000..abe20c225
--- /dev/null
+++ b/homebrew/pixz/download.sh
@@ -0,0 +1 @@
+wget https://github.com/vasi/pixz/releases/download/v1.0.6/pixz-1.0.6.tar.gz \ No newline at end of file