nutcracker (twemproxy) 0.3.0
Closes Homebrew/homebrew#28813. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
07397af582
commit
01f5325fdf
2 changed files with 21 additions and 0 deletions
1
Aliases/twemproxy
Symbolic link
1
Aliases/twemproxy
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../Formula/nutcracker.rb
|
20
Formula/nutcracker.rb
Normal file
20
Formula/nutcracker.rb
Normal 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
|
Loading…
Reference in a new issue