61b2307139
brewkit.rb changes ENV destructively, so lets not do that everytime a formula is required. Now it's possible for other tools to require a formula description without worrying about side-effects.
14 lines
374 B
Ruby
14 lines
374 B
Ruby
require 'formula'
|
|
|
|
class Lighttpd <Formula
|
|
@url='http://www.lighttpd.net/download/lighttpd-1.4.23.tar.bz2'
|
|
@homepage='http://www.lighttpd.net/'
|
|
@md5='0ab6bb7b17bf0f515ce7dce68e5e215a'
|
|
|
|
depends_on :pcre
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking", "--with-openssl", "--with-ldap"
|
|
system "make install"
|
|
end
|
|
end
|