homebrew-core/Formula/varnish.rb
Blake Taylor e8c525d4db Update Varnish to 2.1.4
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-12-06 12:38:06 -08:00

21 lines
607 B
Ruby

require 'formula'
class Varnish <Formula
url 'http://www.varnish-software.com/sites/default/files/varnish-2.1.4.tar.gz'
homepage 'http://www.varnish-cache.org/'
md5 'e794a37b6fbb786a083c0946103ae103'
depends_on 'pkg-config' => :build
depends_on 'pcre'
# Do not strip varnish binaries: Otherwise, the magic string end pointer isn't found.
skip_clean :all
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--localstatedir=#{var}"
system "make install"
(var+'varnish').mkpath
end
end