blob: 9e2effc745538f48790818772b4ca81a61b66ab0 (
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
|
require 'formula'
class Torsocks < Formula
homepage 'https://gitweb.torproject.org/torsocks.git/'
url 'https://git.torproject.org/torsocks.git', :tag => 'v2.0.0'
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
|