nginx 1.4.0
Closes Homebrew/homebrew#19413. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
38ca86150b
commit
dd2d899f16
1 changed files with 6 additions and 13 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue