homebrew-core/Formula/mongrel2.rb

20 lines
480 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Mongrel2 < Formula
2011-01-22 18:07:20 +00:00
url 'http://mongrel2.org/static/downloads/mongrel2-1.5.tar.bz2'
head 'fossil://http://mongrel2.org:44445/'
homepage 'http://mongrel2.org/'
2011-01-22 18:07:20 +00:00
md5 'b699ffc7ef922ad7d703fcd39a897910'
depends_on 'zeromq'
def install
2011-01-22 18:07:20 +00:00
# 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