homebrew-core/Formula/dante.rb
2016-09-28 19:50:20 -04:00

31 lines
1.1 KiB
Ruby

class Dante < Formula
desc "SOCKS server and client, implementing RFC 1928 and related standards"
homepage "https://www.inet.no/dante/"
url "https://www.inet.no/dante/files/dante-1.4.1.tar.gz"
mirror "http://www.inet.no/dante/files/dante-1.4.1.tar.gz"
sha256 "b6d232bd6fefc87d14bf97e447e4fcdeef4b28b16b048d804b50b48f261c4f53"
bottle do
cellar :any
rebuild 1
sha256 "5430dd125d58a0d237c29eeb4bc34ad2de63d3d958737b3166bfa4b6475a87e7" => :sierra
sha256 "317f720310f59b8c3c8b12e5b971829e7c2f8513832bc1782ec01c8d598e529d" => :el_capitan
sha256 "610a391e6e28955b31a4f7a288ad446103e745a938c3d68f3082ff5fe1863574" => :yosemite
sha256 "66d48707c1e9d1fd7a891a145c4848812f5563c38357434d8dccb195b5bd7b8a" => :mavericks
end
depends_on "miniupnpc" => :optional
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