summaryrefslogtreecommitdiff
path: root/homebrew/upx
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/upx')
-rw-r--r--homebrew/upx/.beer46
-rw-r--r--homebrew/upx/.make.sh-auto5
-rw-r--r--homebrew/upx/_metadata/description1
-rw-r--r--homebrew/upx/_metadata/homepage1
-rw-r--r--homebrew/upx/_metadata/name1
-rw-r--r--homebrew/upx/_metadata/version1
-rwxr-xr-xhomebrew/upx/download.sh1
-rwxr-xr-xhomebrew/upx/patches.sh4
8 files changed, 60 insertions, 0 deletions
diff --git a/homebrew/upx/.beer b/homebrew/upx/.beer
new file mode 100644
index 000000000..9947f632b
--- /dev/null
+++ b/homebrew/upx/.beer
@@ -0,0 +1,46 @@
+{
+ "name": "Upx",
+ "description": "Compress/expand executable files",
+ "url": "https://github.com/upx/upx/archive/v3.95.tar.gz",
+ "mirror": null,
+ "homepage": "https://upx.github.io/",
+ "depends": [
+ {
+ "depend": "ucl",
+ "build-depend": false
+ }
+ ],
+ "resource": [
+ {
+ "name": "lzma-sdk",
+ "url": "https://github.com/upx/upx-lzma-sdk/archive/v3.95.tar.gz"
+ }
+ ],
+ "conflicts": [],
+ "patches": [
+ {
+ "url": "https://github.com/upx/upx/commit/0dac6b7be3339ac73051d40ed4d268cd2bb0dc7c.patch?full_index=1",
+ "strip": "1"
+ },
+ {
+ "url": "https://github.com/upx/upx/commit/9bb6854e642a2505102b9d3f9ec8535ec8ab6d9c.patch?full_index=1",
+ "strip": "1"
+ },
+ {
+ "url": "https://github.com/upx/upx/commit/4d1c754af943f4640062884f38742fd97a6bda0d.patch?full_index=1",
+ "strip": "1"
+ },
+ {
+ "url": "https://github.com/upx/upx/commit/bb1f9cdecd02130e468b9bed680a9bb6122f8a0c.patch?full_index=1",
+ "strip": "1"
+ }
+ ],
+ "install": [
+ "(buildpath/\"src/lzma-sdk\").install resource(\"lzma-sdk\") if build.stable?",
+ "system \"make\", \"all\"",
+ "bin.install \"src/upx.out\" => \"upx\"",
+ "man1.install \"doc/upx.1\""
+ ],
+ "version": "3.95",
+ "file": "upx.rb"
+} \ No newline at end of file
diff --git a/homebrew/upx/.make.sh-auto b/homebrew/upx/.make.sh-auto
new file mode 100644
index 000000000..1fecbb966
--- /dev/null
+++ b/homebrew/upx/.make.sh-auto
@@ -0,0 +1,5 @@
+pkg:setup
+(buildpath/"src/lzma-sdk").install resource("lzma-sdk") if build.stable?
+make all
+bin.install "src/upx.out" => "upx"
+man1.install "doc/upx.1"
diff --git a/homebrew/upx/_metadata/description b/homebrew/upx/_metadata/description
new file mode 100644
index 000000000..6fe22f823
--- /dev/null
+++ b/homebrew/upx/_metadata/description
@@ -0,0 +1 @@
+Compress/expand executable files
diff --git a/homebrew/upx/_metadata/homepage b/homebrew/upx/_metadata/homepage
new file mode 100644
index 000000000..f03b2dccc
--- /dev/null
+++ b/homebrew/upx/_metadata/homepage
@@ -0,0 +1 @@
+https://upx.github.io/
diff --git a/homebrew/upx/_metadata/name b/homebrew/upx/_metadata/name
new file mode 100644
index 000000000..0bb2aeef5
--- /dev/null
+++ b/homebrew/upx/_metadata/name
@@ -0,0 +1 @@
+Upx
diff --git a/homebrew/upx/_metadata/version b/homebrew/upx/_metadata/version
new file mode 100644
index 000000000..313ef2c03
--- /dev/null
+++ b/homebrew/upx/_metadata/version
@@ -0,0 +1 @@
+3.95
diff --git a/homebrew/upx/download.sh b/homebrew/upx/download.sh
new file mode 100755
index 000000000..23e5310bc
--- /dev/null
+++ b/homebrew/upx/download.sh
@@ -0,0 +1 @@
+wget https://github.com/upx/upx/archive/v3.95.tar.gz \ No newline at end of file
diff --git a/homebrew/upx/patches.sh b/homebrew/upx/patches.sh
new file mode 100755
index 000000000..dbfc71d63
--- /dev/null
+++ b/homebrew/upx/patches.sh
@@ -0,0 +1,4 @@
+wget https://github.com/upx/upx/commit/0dac6b7be3339ac73051d40ed4d268cd2bb0dc7c.patch?full_index=1
+wget https://github.com/upx/upx/commit/9bb6854e642a2505102b9d3f9ec8535ec8ab6d9c.patch?full_index=1
+wget https://github.com/upx/upx/commit/4d1c754af943f4640062884f38742fd97a6bda0d.patch?full_index=1
+wget https://github.com/upx/upx/commit/bb1f9cdecd02130e468b9bed680a9bb6122f8a0c.patch?full_index=1