15 lines
402 B
Ruby
15 lines
402 B
Ruby
require 'formula'
|
|
|
|
class Jmeter < Formula
|
|
homepage 'http://jmeter.apache.org/'
|
|
url 'http://www.apache.org/dyn/closer.cgi?path=jmeter/binaries/apache-jmeter-2.8.tgz'
|
|
sha1 'e18cac4ab2b73dfcfe5d11e857905fa31c638563'
|
|
|
|
def install
|
|
# Remove windows files
|
|
rm_f Dir["bin/*.bat"]
|
|
prefix.install_metafiles
|
|
libexec.install Dir['*']
|
|
bin.write_exec_script libexec/'bin/jmeter'
|
|
end
|
|
end
|