2010-01-05 23:57:58 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Tor <Formula
|
2011-01-21 12:27:28 +00:00
|
|
|
url 'https://www.torproject.org/dist/tor-0.2.1.29.tar.gz'
|
2010-01-05 23:57:58 +00:00
|
|
|
homepage 'https://www.torproject.org/'
|
2011-01-21 12:27:28 +00:00
|
|
|
md5 '1cd4feea84f2b066717b500d090bcf65'
|
2010-04-07 05:58:35 +00:00
|
|
|
|
2010-01-05 23:57:58 +00:00
|
|
|
depends_on 'libevent'
|
2010-04-07 05:58:35 +00:00
|
|
|
|
2010-01-05 23:57:58 +00:00
|
|
|
def patches
|
2010-11-10 18:16:28 +00:00
|
|
|
{:p0 => 'https://gist.github.com/raw/344132/d27d1cd3042d7c58120688d79ed25a2fc959a2de/config.guess-x86_64patch.diff' }
|
2010-01-05 23:57:58 +00:00
|
|
|
end
|
2010-04-07 05:58:35 +00:00
|
|
|
|
2010-01-05 23:57:58 +00:00
|
|
|
def install
|
|
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|