New Formula: Varnish HTTP accelerating proxy.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>

* Bump to 2.1.2
* Remove unused configure switch
master
Andreas Fuchs 2010-02-05 01:45:58 +01:00 committed by Adam Vandenberg
parent 42a12af5a1
commit 4b9c5ed14f
1 changed files with 20 additions and 0 deletions

20
Formula/varnish.rb Normal file
View File

@ -0,0 +1,20 @@
require 'formula'
class Varnish <Formula
url 'http://downloads.sourceforge.net/project/varnish/varnish/2.1.2/varnish-2.1.2.tar.gz'
homepage 'http://varnish.projects.linpro.no/'
md5 '8b0d80e47acf4946671c381af55518b9'
def skip_clean? path
# Do not strip varnish binaries: Otherwise, the magic string end pointer isn't found.
true
end
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--localstatedir=#{var}"
system "make install"
(var+'varnish').mkpath
end
end