aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorSimon Frost2011-03-21 17:00:50 +0000
committerAdam Vandenberg2011-03-29 20:34:23 -0700
commitb605e54ac8daa86313f19bc1f3b2c5435dda4806 (patch)
tree2cccea25951fdd89af41ca1f441851c29f131607 /Library
parent7eb6ae44d922a40719aee076f4f57eecb8bdfa54 (diff)
downloadhomebrew-b605e54ac8daa86313f19bc1f3b2c5435dda4806.tar.bz2
JMeter Formula
Apache JMeter is open source software, a 100% pure Java desktop application designed to load test functional behavior and measure performan Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/jmeter.rb22
1 files changed, 22 insertions, 0 deletions
diff --git a/Library/Formula/jmeter.rb b/Library/Formula/jmeter.rb
new file mode 100644
index 000000000..410c169c0
--- /dev/null
+++ b/Library/Formula/jmeter.rb
@@ -0,0 +1,22 @@
+require 'formula'
+
+class Jmeter < Formula
+ url 'http://apache.mirror.rbftpnetworks.com//jakarta/jmeter/binaries/jakarta-jmeter-2.4.tgz'
+ homepage 'http://jakarta.apache.org/jmeter/'
+ md5 '01ac101b161643a77267baec99b3acfe'
+
+ def startup_script name
+ <<-EOS.undent
+ #!/bin/bash
+ exec #{libexec}/bin/#{name} $@
+ EOS
+ end
+
+ def install
+ # Remove windows files
+ rm_f Dir["bin/*.bat"]
+ prefix.install %w{ LICENSE NOTICE README }
+ libexec.install Dir['*']
+ (bin+'jmeter').write startup_script('jmeter')
+ end
+end