aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAndreas Fuchs2010-02-05 01:45:58 +0100
committerAdam Vandenberg2010-05-09 21:11:19 -0700
commitaa882330fc0b7f9e430feef3ac839788dd5d41d4 (patch)
treef91665934a1771da58d0d5b4ac5452906727c4c7 /Library
parent799fe118c72dbf59835a59f4dc76133a0df7b4b0 (diff)
downloadhomebrew-aa882330fc0b7f9e430feef3ac839788dd5d41d4.tar.bz2
New Formula: Varnish HTTP accelerating proxy.
Signed-off-by: Adam Vandenberg <flangy@gmail.com> * Bump to 2.1.2 * Remove unused configure switch
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/varnish.rb20
1 files changed, 20 insertions, 0 deletions
diff --git a/Library/Formula/varnish.rb b/Library/Formula/varnish.rb
new file mode 100644
index 000000000..f28f57057
--- /dev/null
+++ b/Library/Formula/varnish.rb
@@ -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 \ No newline at end of file