blob: 7f3dd18105568015b66a2fc30095f735e14dff11 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  | 
require 'formula'
class Torsocks < Formula
  homepage 'http://code.google.com/p/torsocks/'
  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 build.head?
    system "./configure", "--disable-debug", "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make install"
  end
end
  |