homebrew-core/Formula/wrk.rb

32 lines
735 B
Ruby
Raw Normal View History

2014-08-20 06:17:06 +00:00
require "formula"
class Wrk < Formula
2014-08-20 06:17:06 +00:00
homepage "https://github.com/wg/wrk"
url "https://github.com/wg/wrk/archive/3.1.1.tar.gz"
sha1 "7cea5d12dc5076fed1a1c730bd3e6eba832a8f61"
head "https://github.com/wg/wrk.git"
revision 1
bottle do
cellar :any
2014-08-25 11:41:51 +00:00
revision 1
sha1 "034ed6c6991064d72aabadec117cedc8826a5018" => :mavericks
sha1 "beec443377916519ef99e99ac443adf92aa15f59" => :mountain_lion
sha1 "9528426378a5d4d75e1ec5f7cd0d3dcbdeb775ac" => :lion
end
2014-08-20 06:17:06 +00:00
depends_on "openssl"
2014-08-20 06:17:06 +00:00
conflicts_with "wrk-trello", :because => "both install `wrk` binaries"
2013-11-12 15:13:00 +00:00
def install
ENV.j1
system "make"
bin.install "wrk"
end
2013-03-25 18:35:22 +00:00
test do
system *%W{#{bin}/wrk -c 1 -t 1 -d 1 http://example.com/}
end
end