aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/tor.rb
diff options
context:
space:
mode:
authortstevens2010-01-05 18:57:58 -0500
committerAdam Vandenberg2010-02-10 20:43:50 -0800
commit9b0b8b10acd343db43351b40b40d83c44fbe7745 (patch)
treee3d87da22f2d5e399d964f249236e08f8d725f8e /Library/Formula/tor.rb
parent74469d3b484ba738d6d5da835702c9ab0c8f15a2 (diff)
downloadhomebrew-9b0b8b10acd343db43351b40b40d83c44fbe7745.tar.bz2
New formula: Tor
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/tor.rb')
-rw-r--r--Library/Formula/tor.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Formula/tor.rb b/Library/Formula/tor.rb
new file mode 100644
index 000000000..606b3e573
--- /dev/null
+++ b/Library/Formula/tor.rb
@@ -0,0 +1,18 @@
+require 'formula'
+
+class Tor <Formula
+ url 'https://www.torproject.org/dist/tor-0.2.1.21.tar.gz'
+ homepage 'https://www.torproject.org/'
+ md5 '54f7a801d824cd9c13ce672d483926d6'
+
+ depends_on 'libevent'
+
+ def patches
+ {:p0 => 'http://gist.github.com/raw/268813/bba4403191b4aa382eff0671afb4ed7f97748c6f/config.guess-x86_64fix.diff' }
+ end
+
+ def install
+ system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
+ system "make install"
+ end
+end