2010-01-05 23:57:58 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Tor <Formula
|
2010-03-25 21:25:54 +00:00
|
|
|
url 'https://www.torproject.org/dist/tor-0.2.1.25.tar.gz'
|
2010-01-05 23:57:58 +00:00
|
|
|
homepage 'https://www.torproject.org/'
|
2010-03-25 21:25:54 +00:00
|
|
|
md5 'f58540b3c5835ac4f5de1b02bbddc703'
|
2010-01-05 23:57:58 +00:00
|
|
|
|
|
|
|
depends_on 'libevent'
|
|
|
|
|
|
|
|
def patches
|
2010-03-25 21:25:54 +00:00
|
|
|
{:p0 => 'http://gist.github.com/raw/344132/d27d1cd3042d7c58120688d79ed25a2fc959a2de/config.guess-x86_64patch.diff' }
|
2010-01-05 23:57:58 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|