homebrew-core/Formula/tor.rb

19 lines
499 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Tor < Formula
url 'https://www.torproject.org/dist/tor-0.2.1.30.tar.gz'
homepage 'https://www.torproject.org/'
md5 '6c6d61e053af5969a245d025c4cfce9d'
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