homebrew-core/Formula/torsocks.rb

19 lines
496 B
Ruby
Raw Normal View History

require 'formula'
class Torsocks < Formula
homepage 'http://code.google.com/p/torsocks/'
2012-08-23 04:14:47 +00:00
url 'http://torsocks.googlecode.com/files/torsocks-1.2.tar.gz'
sha1 'b8afeb217db299892a628e28f2327a1d2697f9ad'
head 'git://git.torproject.org/git/torsocks.git'
depends_on 'tor'
def install
2012-08-23 04:14:47 +00:00
system "./autogen.sh" if build.head?
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end