diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/openlitespeed.rb | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/Library/Formula/openlitespeed.rb b/Library/Formula/openlitespeed.rb index 53dddaae4..086cf0a2d 100644 --- a/Library/Formula/openlitespeed.rb +++ b/Library/Formula/openlitespeed.rb @@ -1,26 +1,21 @@ -require "formula" - class Openlitespeed < Formula homepage "http://open.litespeedtech.com/mediawiki/" - url "http://open.litespeedtech.com/packages/openlitespeed-1.2.9.tgz" - sha1 "dbdfa1337caeabaca6814e2c12266f5570f14dd7" + url "http://open.litespeedtech.com/packages/openlitespeed-1.3.10.tgz" + sha1 "4a409b65cacc3ee5e2855ab213a5f3e9858a8003" head "https://github.com/litespeedtech/openlitespeed.git" - option "with-debug", 'Compile with support for debug log' - option "with-spdy", 'Compile with support for SPDY module' + option "with-debug", "Compile with support for debug log" + option "with-spdy", "Compile with support for SPDY module" depends_on "pcre" depends_on "geoip" - # SPDY needs openssl >= 1.0.1 for NPN; see: - # https://tools.ietf.org/agenda/82/slides/tls-3.pdf - # http://www.openssl.org/news/changelog.html - depends_on "openssl" if build.with? 'spdy' + depends_on "openssl" def install args = ["--disable-dependency-tracking", "--prefix=#{prefix}"] - args << "--enable-debug" if build.with? 'debug' - args << "--enable-spdy" if build.with? 'spdy' - args << "--with-openssl=#{Formula["openssl"].opt_prefix}" if build.with? 'spdy' + args << "--enable-debug" if build.with? "debug" + args << "--enable-spdy" if build.with? "spdy" + args << "--with-openssl=#{Formula["openssl"].opt_prefix}" system "./configure", *args system "make", "install" end |
