blob: b917cd9f17a6c2886cccfc5e3083b6eb788fa73b (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
 | class Torsocks < Formula
  homepage "https://gitweb.torproject.org/torsocks.git/"
  url "https://git.torproject.org/torsocks.git",
    :tag => "v2.0.0",
    :revision => "ea105bb76ea1e9f9660dd2307639b75ca6d76569"
  head "https://git.torproject.org/torsocks.git"
  bottle do
    sha1 "75a53b9a12c5f3b1dbcdfd659f9bdecf6703a2f8" => :yosemite
    sha1 "02573816190ad4fa6ee829e59b293224a90b6dad" => :mavericks
    sha1 "d10034aa108b8a4baf2a6ecd73457cf279681eb3" => :mountain_lion
  end
  depends_on "autoconf" => :build
  depends_on "automake" => :build
  depends_on "libtool" => :build
  def install
    system "./autogen.sh"
    system "./configure", "--disable-debug", "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make", "install"
  end
  test do
    system "#{bin}/torsocks", "--help"
  end
end
 |