aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/jmeter.rb
blob: 5478ba4ebeb4894e97c3bbea452d4f667a62e45b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require 'formula'

class Jmeter < Formula
  homepage 'http://jmeter.apache.org/'
  url 'http://www.apache.org/dyn/closer.cgi?path=jmeter/binaries/apache-jmeter-2.10.tgz'
  sha1 'f7caf849bdd2a575468381a2dbe372bc9fec1b59'

  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