2011-07-22 02:55:20 +00:00
|
|
|
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'
|
|
|
|
|
2012-04-01 16:00:52 +00:00
|
|
|
head 'git://git.torproject.org/git/torsocks.git'
|
2011-07-22 02:55:20 +00:00
|
|
|
|
|
|
|
depends_on 'tor'
|
|
|
|
|
|
|
|
def install
|
2012-08-23 04:14:47 +00:00
|
|
|
system "./autogen.sh" if build.head?
|
2011-07-22 02:55:20 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|