homebrew-core/Formula/torsocks.rb
Jacob Appelbaum 2f979686fa torsocks 1.3
"We moved torsocks away from Google Code and back to the Tor
git repository. We also fixed a number of bugs and released
version 1.3."

Closes Homebrew/homebrew#17889.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-02-17 16:06:29 -06:00

24 lines
587 B
Ruby

require 'formula'
class Torsocks < Formula
homepage 'https://gitweb.torproject.org/torsocks.git/'
url 'https://git.torproject.org/torsocks.git', :tag => '1.3'
version '1.3'
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
def test
system "#{bin}/torsocks"
end
end