2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-19 09:46:33 +00:00
|
|
|
|
|
|
|
class Lighttpd <Formula
|
2009-12-11 17:41:23 +00:00
|
|
|
url 'http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-1.4.25.tar.bz2'
|
|
|
|
md5 '2027c49fb46530e45338c5e2da13c02f'
|
|
|
|
homepage 'http://www.lighttpd.net/'
|
2009-09-19 09:46:33 +00:00
|
|
|
|
2009-12-11 17:41:23 +00:00
|
|
|
depends_on 'pkg-config'
|
|
|
|
depends_on 'pcre'
|
2009-09-19 09:46:33 +00:00
|
|
|
|
|
|
|
def install
|
2009-12-11 17:41:23 +00:00
|
|
|
args = ["--prefix=#{prefix}", "--disable-dependency-tracking",
|
|
|
|
"--with-openssl", "--with-ldap"]
|
|
|
|
system "./configure", *args
|
2009-09-19 09:46:33 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|