aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorBrett Koonce2013-03-26 11:12:17 -0500
committerAdam Vandenberg2013-03-29 08:47:58 -0700
commitc3b40ab5603f088a58fc015a48cafcf29334a62a (patch)
tree99df65da0642ef16bdeff3c978fdb803086d9521 /Library/Formula
parent8338d0f5d16a440ea9338ba487a3e2bf6743b403 (diff)
downloadhomebrew-c3b40ab5603f088a58fc015a48cafcf29334a62a.tar.bz2
nginx (devel) 1.3.15
added SPDY module Closes #18748. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/nginx.rb10
1 files changed, 8 insertions, 2 deletions
diff --git a/Library/Formula/nginx.rb b/Library/Formula/nginx.rb
index 24524ab12..b305b0671 100644
--- a/Library/Formula/nginx.rb
+++ b/Library/Formula/nginx.rb
@@ -6,8 +6,8 @@ class Nginx < Formula
sha1 '65309abde9d683ece737da7a354c8fae24e15ecb'
devel do
- url 'http://nginx.org/download/nginx-1.3.14.tar.gz'
- sha1 '6c912814347c14419a1a1baaa3e0fb9bf2db2bf2'
+ url 'http://nginx.org/download/nginx-1.3.15.tar.gz'
+ sha1 '16488c527078e26c32b0e467120501abf927fc8f'
end
env :userpaths
@@ -18,6 +18,8 @@ class Nginx < Formula
option 'with-webdav', 'Compile with support for WebDAV module'
option 'with-debug', 'Compile with support for debug log'
+ option 'with-spdy', 'Compile with support for SPDY module' if build.devel?
+
skip_clean 'logs'
# Changes default port to 8080
@@ -58,6 +60,10 @@ class Nginx < Formula
args << "--with-http_dav_module" if build.include? 'with-webdav'
args << "--with-debug" if build.include? 'with-debug'
+ if build.devel?
+ args << "--with-http_spdy_module" if build.include? 'with-spdy'
+ end
+
system "./configure", *args
system "make"
system "make install"