diff options
| author | Austin Seipp | 2011-07-16 00:06:57 -0500 |
|---|---|---|
| committer | Misty De Meo | 2012-01-08 13:10:33 -0600 |
| commit | ba85be7f20d661bc3c4adee251f83e3a717efd92 (patch) | |
| tree | b18e9b5df620afbc4c14374c1266b0d904018650 /Library | |
| parent | ac66058f327a3e60ebb060f801e18484c42284b4 (diff) | |
| download | homebrew-ba85be7f20d661bc3c4adee251f83e3a717efd92.tar.bz2 | |
New formula: Ur/Web
Closes #7395.
Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/urweb.rb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Library/Formula/urweb.rb b/Library/Formula/urweb.rb new file mode 100644 index 000000000..c8ea25812 --- /dev/null +++ b/Library/Formula/urweb.rb @@ -0,0 +1,25 @@ +require 'formula' + +class Urweb < Formula + homepage 'http://impredicative.com/ur/' + url 'http://impredicative.com/ur/urweb-20111127.tgz' + md5 '33276fad9dc6b06782f041bccbdef7ac' + head 'http://hg.impredicative.com/urweb', :using => :hg + + depends_on 'mlton' + + 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 |
