31 lines
994 B
Ruby
31 lines
994 B
Ruby
class Torsocks < Formula
|
|
desc "Use SOCKS-friendly applications with Tor"
|
|
homepage "https://gitweb.torproject.org/torsocks.git/"
|
|
url "https://git.torproject.org/torsocks.git",
|
|
:tag => "v2.2.0",
|
|
:revision => "e54d80bc9595beeceac637b03e5c5395c07e62f7"
|
|
|
|
head "https://git.torproject.org/torsocks.git"
|
|
|
|
bottle do
|
|
sha256 "aa753c8002d5dbd78aa75b5bfd284646dd724a65f4896cb3f902b1c7283fd96a" => :sierra
|
|
sha256 "3b978df65102580b8817d6d92e517ecd3a9f7086970c10af279a8d57fea60cae" => :el_capitan
|
|
sha256 "7f1fd0440c3775776bddcb55f153108d0715a3ac9ee8a6a13798d168fbd71e41" => :yosemite
|
|
end
|
|
|
|
depends_on "autoconf" => :build
|
|
depends_on "automake" => :build
|
|
depends_on "libtool" => :build
|
|
|
|
def install
|
|
system "./autogen.sh"
|
|
system "./configure", "--disable-debug",
|
|
"--disable-dependency-tracking",
|
|
"--prefix=#{prefix}"
|
|
system "make", "install"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/torsocks", "--help"
|
|
end
|
|
end
|