diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/nginx.rb | 10 |
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" |
