2010-05-16 17:15:29 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Pure < Formula
|
2010-10-03 00:24:42 +00:00
|
|
|
url 'http://pure-lang.googlecode.com/files/pure-0.44.tar.gz'
|
2010-05-16 17:15:29 +00:00
|
|
|
homepage 'http://code.google.com/p/pure-lang/'
|
2010-10-03 00:24:42 +00:00
|
|
|
md5 '1b857543f0574e7ffff243bbea9fa712'
|
2010-05-16 17:15:29 +00:00
|
|
|
|
|
|
|
depends_on 'llvm'
|
|
|
|
depends_on 'gmp'
|
|
|
|
depends_on 'readline'
|
|
|
|
|
|
|
|
def install
|
2010-04-07 05:58:35 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--enable-release"
|
2010-05-16 17:15:29 +00:00
|
|
|
system "make"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|