aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorXu Cheng2015-04-18 22:38:16 +0800
committerXu Cheng2015-04-18 22:38:23 +0800
commit2bac36d4fd67b457d4c13a55f55e08d10de9d70b (patch)
tree473398ea2506c614bdde383f60fdf5c74cc52fcc /Library
parent58605b9614848950d8b6c38d240ade6f3c57a689 (diff)
downloadhomebrew-2bac36d4fd67b457d4c13a55f55e08d10de9d70b.tar.bz2
torsocks: modernize and add revision
Closes #38719.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/torsocks.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/Library/Formula/torsocks.rb b/Library/Formula/torsocks.rb
index 9e2effc74..b917cd9f1 100644
--- a/Library/Formula/torsocks.rb
+++ b/Library/Formula/torsocks.rb
@@ -1,10 +1,10 @@
-require 'formula'
-
class Torsocks < Formula
- homepage 'https://gitweb.torproject.org/torsocks.git/'
- url 'https://git.torproject.org/torsocks.git', :tag => 'v2.0.0'
+ 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'
+ head "https://git.torproject.org/torsocks.git"
bottle do
sha1 "75a53b9a12c5f3b1dbcdfd659f9bdecf6703a2f8" => :yosemite
@@ -20,7 +20,7 @@ class Torsocks < Formula
system "./autogen.sh"
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
- system "make install"
+ system "make", "install"
end
test do