diff options
| author | Farooq Mela | 2013-04-24 09:47:46 -0700 |
|---|---|---|
| committer | Jack Nagel | 2013-04-24 18:41:05 -0500 |
| commit | 0789a28dadbdb6d62e1d36811266ba3eb88723e1 (patch) | |
| tree | 019f97e3334e3e8accda53e4004eda5b2b92c1ef /Library/Formula | |
| parent | 41a4a6bf8ff81f2b6a3671971967dd53b293fa4a (diff) | |
| download | homebrew-0789a28dadbdb6d62e1d36811266ba3eb88723e1.tar.bz2 | |
nginx 1.4.0
Closes #19413.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/nginx.rb | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/Library/Formula/nginx.rb b/Library/Formula/nginx.rb index deb723ae9..2ab4784cc 100644 --- a/Library/Formula/nginx.rb +++ b/Library/Formula/nginx.rb @@ -2,13 +2,8 @@ require 'formula' class Nginx < Formula homepage 'http://nginx.org/' - url 'http://nginx.org/download/nginx-1.2.8.tar.gz' - sha1 'b8c193d841538c3c443d262a2ab815a9ce1faaf6' - - devel do - url 'http://nginx.org/download/nginx-1.3.16.tar.gz' - sha1 '773321c9c9c273e9a2da0ddfd07e8af271d09ca7' - end + url 'http://nginx.org/download/nginx-1.4.0.tar.gz' + sha1 'a4343ed201b99d93ff06843600f3175270cb0a94' head 'svn://svn.nginx.org/nginx/trunk/' @@ -19,8 +14,8 @@ class Nginx < Formula option 'with-passenger', 'Compile with support for Phusion Passenger module' 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? + option 'with-spdy', 'Compile with support for SPDY module' + option 'with-gunzip', 'Compile with support for gunzip module' skip_clean 'logs' @@ -65,10 +60,8 @@ class Nginx < Formula args << passenger_config_args if build.include? 'with-passenger' args << "--with-http_dav_module" if build.include? 'with-webdav' args << "--with-debug" if build.include? 'with-debug' - - if build.devel? or build.head? - args << "--with-http_spdy_module" if build.include? 'with-spdy' - end + args << "--with-http_spdy_module" if build.include? 'with-spdy' + args << "--with-http_gunzip_module" if build.include? 'with-gunzip' if build.head? system "./auto/configure", *args |
