homebrew-core/Formula/polipo.rb
NanoTech c196d877eb polipo: update url, use INFODIR, enable IPv6
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-23 14:29:49 -07:00

15 lines
555 B
Ruby

require 'formula'
class Polipo < Formula
url 'http://freehaven.net/~chrisd/polipo/polipo-1.0.4.tar.gz'
homepage 'http://www.pps.jussieu.fr/~jch/software/polipo/'
head 'git://git.wifi.pps.jussieu.fr/polipo'
md5 'defdce7f8002ca68705b6c2c36c4d096'
def install
cache_root = (var + "cache/polipo").mkpath
make_opts = "PREFIX=#{prefix} LOCAL_ROOT=#{share}/polipo/www DISK_CACHE_ROOT=#{cache_root} MANDIR=#{man} INFODIR=#{info} PLATFORM_DEFINES=-DHAVE_IPv6"
system "make all #{make_opts}"
system "make install #{make_opts}"
end
end