2010-05-16 17:15:29 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Pure < Formula
|
2011-04-05 03:54:06 +00:00
|
|
|
url 'http://pure-lang.googlecode.com/files/pure-0.47.tar.gz'
|
2010-05-16 17:15:29 +00:00
|
|
|
homepage 'http://code.google.com/p/pure-lang/'
|
2011-04-05 03:54:06 +00:00
|
|
|
sha1 'f47915ffa9fd0c7dee40f364a5751bfd4f945bf1'
|
2010-05-16 17:15:29 +00:00
|
|
|
|
|
|
|
depends_on 'llvm'
|
|
|
|
depends_on 'gmp'
|
|
|
|
depends_on 'readline'
|
|
|
|
|
|
|
|
def install
|
2010-10-22 03:50:45 +00:00
|
|
|
system "./configure", "--disable-debug",
|
2010-04-07 05:58:35 +00:00
|
|
|
"--prefix=#{prefix}",
|
2011-04-05 03:54:06 +00:00
|
|
|
"--enable-release",
|
|
|
|
"--without-elisp"
|
2010-05-16 17:15:29 +00:00
|
|
|
system "make"
|
|
|
|
system "make install"
|
2011-04-05 03:54:06 +00:00
|
|
|
system "make install-docs"
|
2010-05-16 17:15:29 +00:00
|
|
|
end
|
|
|
|
end
|