homebrew-core/Formula/nutcracker.rb
Vincent Massaro 01f5325fdf nutcracker (twemproxy) 0.3.0
Closes Homebrew/homebrew#28813.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-05-05 20:36:47 -07:00

20 lines
532 B
Ruby

require "formula"
class Nutcracker < Formula
homepage "https://github.com/twitter/twemproxy"
url "https://twemproxy.googlecode.com/files/nutcracker-0.3.0.tar.gz"
sha1 "b17f973ff2de9bd5e21417786a1449bea1557fba"
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make"
system "make install"
(share+"nutcracker").install "conf", "notes", "scripts"
end
test do
system "#{opt_sbin}/nutcracker", "-V"
end
end