nutcracker (twemproxy) 0.3.0

Closes Homebrew/homebrew#28813.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Vincent Massaro 2014-04-28 16:06:51 -04:00 committed by Adam Vandenberg
parent 07397af582
commit 01f5325fdf
2 changed files with 21 additions and 0 deletions

1
Aliases/twemproxy Symbolic link
View file

@ -0,0 +1 @@
../Formula/nutcracker.rb

20
Formula/nutcracker.rb Normal file
View file

@ -0,0 +1,20 @@
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