homebrew-core/Formula/torsocks.rb
2014-12-04 13:37:03 -05:00

29 lines
797 B
Ruby

require 'formula'
class Torsocks < Formula
homepage 'https://gitweb.torproject.org/torsocks.git/'
url 'https://git.torproject.org/torsocks.git', :tag => 'v2.0.0'
head 'https://git.torproject.org/torsocks.git'
bottle do
sha1 "75a53b9a12c5f3b1dbcdfd659f9bdecf6703a2f8" => :yosemite
sha1 "02573816190ad4fa6ee829e59b293224a90b6dad" => :mavericks
sha1 "d10034aa108b8a4baf2a6ecd73457cf279681eb3" => :mountain_lion
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