homebrew-core/Formula/openlitespeed.rb
BrewTestBot 95884bae22 Formula files style updates.
Closes Homebrew/homebrew#42407.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-03 14:21:42 +01:00

23 lines
847 B
Ruby

class Openlitespeed < Formula
desc "High-performance, lightweight HTTP server"
homepage "http://open.litespeedtech.com/mediawiki/"
url "http://open.litespeedtech.com/packages/openlitespeed-1.3.10.tgz"
sha256 "703ff1093eae270bb0c380d097e92e39dd102b31f9632ff420b4b0ed423c4159"
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"
depends_on "pcre"
depends_on "geoip"
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}"
system "./configure", *args
system "make", "install"
end
end