2010-04-05 06:49:51 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Privoxy < Formula
|
2010-04-05 06:49:51 +00:00
|
|
|
homepage 'http://www.privoxy.org'
|
2012-03-08 16:18:54 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/ijbswa/Sources/3.0.19%20%28stable%29/privoxy-3.0.19-stable-src.tar.gz'
|
|
|
|
sha1 'a82287cbf48375ef449d021473a366baeca49250'
|
2010-04-05 06:49:51 +00:00
|
|
|
|
2012-02-29 01:44:13 +00:00
|
|
|
if MacOS.xcode_version >= "4.3"
|
|
|
|
# remove the autoreconf if possible, no comment provided about why it is there
|
|
|
|
# so we have no basis to make a decision at this point.
|
|
|
|
depends_on "automake" => :build
|
|
|
|
depends_on "libtool" => :build
|
|
|
|
end
|
|
|
|
|
2010-04-05 06:49:51 +00:00
|
|
|
def install
|
|
|
|
system "autoreconf -i"
|
2010-12-09 19:24:33 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--sysconfdir=#{etc}/privoxy"
|
2010-04-05 06:49:51 +00:00
|
|
|
system "make"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|