New Formula: tinyproxy

Signed-off-by: David Höppner <0xffea@gmail.com>

* set some paths in tinyproxy.conf
* 1.8 series fails to build
master
chexov 2010-03-02 14:50:43 +02:00 committed by David Höppner
parent efdacee1dd
commit d20b710b86
1 changed files with 19 additions and 0 deletions

19
Formula/tinyproxy.rb Normal file
View File

@ -0,0 +1,19 @@
require 'formula'
class Tinyproxy <Formula
url 'https://www.banu.com/pub/tinyproxy/1.6/tinyproxy-1.6.5.tar.gz'
homepage 'https://www.banu.com/tinyproxy/'
md5 '2b2862ba33d2939e4572688d442ba415'
skip_clean 'var/run'
def install
inreplace 'doc/tinyproxy.conf' do |s|
s.gsub! '/var', "#{var}"
s.gsub! '/usr/share', "#{share}"
end
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
system "make install"
end
end