aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2012-08-22 21:14:47 -0700
committerAdam Vandenberg2012-08-22 21:15:11 -0700
commit6114c796567f47a88a9166763be35e53589e705c (patch)
tree8811d9b2248be9d33eea9d195a3f8a67bf092dbf /Library/Formula
parent69ac7e91944cd31730ab4dad9fed4123a67d7e6e (diff)
downloadhomebrew-6114c796567f47a88a9166763be35e53589e705c.tar.bz2
torsocks: use new dsl
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/torsocks.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/Library/Formula/torsocks.rb b/Library/Formula/torsocks.rb
index 6359b5a14..7f3dd1810 100644
--- a/Library/Formula/torsocks.rb
+++ b/Library/Formula/torsocks.rb
@@ -1,15 +1,16 @@
require 'formula'
class Torsocks < Formula
- url 'http://torsocks.googlecode.com/files/torsocks-1.2.tar.gz'
homepage 'http://code.google.com/p/torsocks/'
- md5 '9bdc8786951e7eec6915433f324f22a4'
+ 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
- system "./autogen.sh" if ARGV.build_head?
+ system "./autogen.sh" if build.head?
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"