Files
tigerbrew/Library/Formula/urweb.rb
T
Max Howell d4f0ba05c1 depends_on "automake" where necessary
Had to remove full paths, since we have two options for location now.
2012-02-27 04:05:43 +00:00

27 lines
747 B
Ruby

require 'formula'
class Urweb < Formula
homepage 'http://impredicative.com/ur/'
url 'http://impredicative.com/ur/urweb-20120110.tgz'
md5 'c71b1f1d16e1118fa50443b79704f9e9'
head 'http://hg.impredicative.com/urweb', :using => :hg
depends_on 'mlton'
depends_on "automake" if MacOS.xcode_version >= "4.3"
def install
system "aclocal && autoreconf -i --force"
system "./configure --prefix=#{prefix}"
system "make"
system "make install"
end
def caveats; <<-EOS.undent
Programs generated by the Ur/Web compiler can use SQLite,
PostgreSQL, or MySQL for the data store. You probably want to
install either PostgreSQL or MySQL if you're going to deploy
real apps or test them heavily.
EOS
end
end