diff options
| author | Chad Catlett | 2013-04-18 04:18:18 -0500 |
|---|---|---|
| committer | Adam Vandenberg | 2013-04-18 08:15:46 -0700 |
| commit | 095366f11db3e996fd529b842a3be3918cde3a1d (patch) | |
| tree | 9fd07441cc9ed384bdcdf14a0ec5ae1498e0ad4a /Library/Formula | |
| parent | eafa431d76de84fde501824be5bb6b6348917ea3 (diff) | |
| download | homebrew-095366f11db3e996fd529b842a3be3918cde3a1d.tar.bz2 | |
nginx devel 1.3.16 and trunk
Closes #19281.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/nginx.rb | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/Library/Formula/nginx.rb b/Library/Formula/nginx.rb index b218e4cf0..deb723ae9 100644 --- a/Library/Formula/nginx.rb +++ b/Library/Formula/nginx.rb @@ -6,10 +6,12 @@ class Nginx < Formula sha1 'b8c193d841538c3c443d262a2ab815a9ce1faaf6' devel do - url 'http://nginx.org/download/nginx-1.3.15.tar.gz' - sha1 '16488c527078e26c32b0e467120501abf927fc8f' + url 'http://nginx.org/download/nginx-1.3.16.tar.gz' + sha1 '773321c9c9c273e9a2da0ddfd07e8af271d09ca7' end + head 'svn://svn.nginx.org/nginx/trunk/' + env :userpaths depends_on 'pcre' @@ -64,11 +66,15 @@ class Nginx < Formula args << "--with-http_dav_module" if build.include? 'with-webdav' args << "--with-debug" if build.include? 'with-debug' - if build.devel? + if build.devel? or build.head? args << "--with-http_spdy_module" if build.include? 'with-spdy' end - system "./configure", *args + if build.head? + system "./auto/configure", *args + else + system "./configure", *args + end system "make" system "make install" man8.install "objs/nginx.8" |
