homebrew-core/Formula/dante.rb

30 lines
968 B
Ruby
Raw Normal View History

class Dante < Formula
desc "SOCKS server and client, implementing RFC 1928 and related standards"
homepage "http://www.inet.no/dante/"
url "http://www.inet.no/dante/files/dante-1.4.1.tar.gz"
mirror "ftp://ftp.inet.no/pub/socks/dante-1.4.1.tar.gz"
sha256 "b6d232bd6fefc87d14bf97e447e4fcdeef4b28b16b048d804b50b48f261c4f53"
depends_on "miniupnpc" => :optional
bottle do
cellar :any
2014-12-05 02:12:51 +00:00
sha1 "2d75acdb4024c23ea3834eb2f5e95813f93c8b94" => :yosemite
sha1 "7f078e852cc57c0265ce8b334b2aa1111397fd76" => :mavericks
sha1 "d09ccfb1ad49ec06acd1200f43716eb79d71618d" => :mountain_lion
end
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}",
"--sysconfdir=#{etc}/dante"
system "make", "install"
end
test do
system "#{sbin}/sockd", "-v"
end
end