homebrew-core/Formula/mongrel2.rb
Charlie Sharpsteen 50ed72a82e Mongrel2: Update HEAD url
Mongrel2 is no longer using Fossil. Switched HEAD URL to GitHub.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-21 16:39:26 -07:00

19 lines
486 B
Ruby

require 'formula'
class Mongrel2 < Formula
url 'http://mongrel2.org/static/downloads/mongrel2-1.7.5.tar.bz2'
head 'https://github.com/zedshaw/mongrel2.git'
homepage 'http://mongrel2.org/'
md5 'c243efc59e5972fa381bd13a7eeafdc7'
depends_on 'zeromq'
def install
# Mongrel2 pulls from these ENV vars instead
ENV['OPTFLAGS'] = "#{ENV.cflags} #{ENV.cppflags}"
ENV['OPTLIBS'] = ENV.ldflags
system "make all"
system "make install PREFIX=#{prefix}"
end
end