summaryrefslogtreecommitdiff
path: root/homebrew/jhiccup
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/jhiccup')
-rw-r--r--homebrew/jhiccup/.beer27
-rw-r--r--homebrew/jhiccup/.make.sh-auto12
-rw-r--r--homebrew/jhiccup/_metadata/description1
-rw-r--r--homebrew/jhiccup/_metadata/homepage1
-rw-r--r--homebrew/jhiccup/_metadata/name1
-rw-r--r--homebrew/jhiccup/_metadata/version1
-rwxr-xr-xhomebrew/jhiccup/download.sh1
7 files changed, 44 insertions, 0 deletions
diff --git a/homebrew/jhiccup/.beer b/homebrew/jhiccup/.beer
new file mode 100644
index 000000000..7a82cfa54
--- /dev/null
+++ b/homebrew/jhiccup/.beer
@@ -0,0 +1,27 @@
+{
+ "name": "Jhiccup",
+ "description": "Measure pauses and stalls of an app",
+ "url": "https://www.azul.com/files/jHiccup-2.0.10-dist.zip",
+ "mirror": null,
+ "homepage": "https://www.azul.com/jhiccup/",
+ "depends": [],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "bin.install \"jHiccup\", \"jHiccupLogProcessor\"",
+ "(bin+\"jHiccupPlotter\").write <<~EOS",
+ "#!/bin/sh",
+ "TMPFILE=\"/tmp/jHiccupPlotter.$$.xls\"",
+ "cp \"#{prefix}/jHiccupPlotter.xls\" $TMPFILE",
+ "open $TMPFILE",
+ "EOS",
+ "prefix.install \"jHiccup.jar\"",
+ "prefix.install \"jHiccupPlotter.xls\"",
+ "inreplace \"#{bin}/jHiccup\" do |s|",
+ "s.gsub! /^JHICCUP_JAR_FILE=.*$/,",
+ "\"JHICCUP_JAR_FILE=#{prefix}/jHiccup.jar\""
+ ],
+ "version": "2.0.10",
+ "file": "jhiccup.rb"
+} \ No newline at end of file
diff --git a/homebrew/jhiccup/.make.sh-auto b/homebrew/jhiccup/.make.sh-auto
new file mode 100644
index 000000000..4c206df3e
--- /dev/null
+++ b/homebrew/jhiccup/.make.sh-auto
@@ -0,0 +1,12 @@
+pkg:setup
+bin.install "jHiccup", "jHiccupLogProcessor"
+(bin+"jHiccupPlotter").write <<~EOS
+#!/bin/sh
+TMPFILE="/tmp/jHiccupPlotter.$$.xls"
+cp "#{prefix}/jHiccupPlotter.xls" $TMPFILE
+open $TMPFILE
+EOS
+prefix.install "jHiccup.jar"
+prefix.install "jHiccupPlotter.xls"
+inreplace "#{bin}/jHiccup" do |s|
+s.gsub! /^JHICCUP_JAR_FILE=.*$/, "JHICCUP_JAR_FILE=#{prefix}/jHiccup.jar"
diff --git a/homebrew/jhiccup/_metadata/description b/homebrew/jhiccup/_metadata/description
new file mode 100644
index 000000000..94937720f
--- /dev/null
+++ b/homebrew/jhiccup/_metadata/description
@@ -0,0 +1 @@
+Measure pauses and stalls of an app
diff --git a/homebrew/jhiccup/_metadata/homepage b/homebrew/jhiccup/_metadata/homepage
new file mode 100644
index 000000000..935406845
--- /dev/null
+++ b/homebrew/jhiccup/_metadata/homepage
@@ -0,0 +1 @@
+https://www.azul.com/jhiccup/
diff --git a/homebrew/jhiccup/_metadata/name b/homebrew/jhiccup/_metadata/name
new file mode 100644
index 000000000..b15ea6027
--- /dev/null
+++ b/homebrew/jhiccup/_metadata/name
@@ -0,0 +1 @@
+Jhiccup
diff --git a/homebrew/jhiccup/_metadata/version b/homebrew/jhiccup/_metadata/version
new file mode 100644
index 000000000..0a692060f
--- /dev/null
+++ b/homebrew/jhiccup/_metadata/version
@@ -0,0 +1 @@
+2.0.10
diff --git a/homebrew/jhiccup/download.sh b/homebrew/jhiccup/download.sh
new file mode 100755
index 000000000..a04d1bd54
--- /dev/null
+++ b/homebrew/jhiccup/download.sh
@@ -0,0 +1 @@
+wget https://www.azul.com/files/jHiccup-2.0.10-dist.zip \ No newline at end of file