homebrew-core/Formula/tor.rb
igorette 2be231a982 updated tor to 0.2.1.27
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2010-12-04 17:19:43 +00:00

18 lines
498 B
Ruby

require 'formula'
class Tor <Formula
url 'https://www.torproject.org/dist/tor-0.2.1.27.tar.gz'
homepage 'https://www.torproject.org/'
md5 '1719642b3f25a23c3b3843ee99be18fb'
depends_on 'libevent'
def patches
{:p0 => 'https://gist.github.com/raw/344132/d27d1cd3042d7c58120688d79ed25a2fc959a2de/config.guess-x86_64patch.diff' }
end
def install
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
system "make install"
end
end