homebrew-core/Formula/urweb.rb

30 lines
759 B
Ruby
Raw Normal View History

require 'formula'
class Urweb < Formula
homepage 'http://impredicative.com/ur/'
url 'http://impredicative.com/ur/urweb-20120807.tgz'
sha1 '81c4a8095b2c6bb0f6779dd242270750f59627cf'
head 'http://hg.impredicative.com/urweb', :using => :hg
2012-07-07 18:08:22 +00:00
depends_on :automake
depends_on :libtool
2012-07-07 18:08:22 +00:00
depends_on 'mlton'
def install
system "aclocal"
system "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