homebrew-core/Formula/torsocks.rb
Arlo Breault 769a6ca2e4 torsocks v2.0.0
Closes Homebrew/homebrew#31895.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-08-26 22:04:41 -05:00

24 lines
584 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', :branch => 'master'
depends_on :autoconf
depends_on :automake
depends_on :libtool
depends_on 'tor'
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