homebrew-core/Formula/pure.rb
Jack Nagel 370905d436 pure: fix docs install
Fixes .

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-28 18:14:53 -05:00

29 lines
782 B
Ruby

require 'formula'
class PureDocs < Formula
url 'http://pure-lang.googlecode.com/files/pure-docs-0.53.tar.gz'
sha1 'c0ad274d344d982e65b15b63daf3a267c50ab186'
end
class Pure < Formula
homepage 'http://code.google.com/p/pure-lang/'
url 'http://pure-lang.googlecode.com/files/pure-0.53.tar.gz'
sha1 '67f1394c06d885b79fc824283f0f7551a6fb2641'
depends_on 'llvm'
depends_on 'gmp'
depends_on 'readline'
depends_on 'mpfr'
def install
system "./configure", "--disable-debug",
"--prefix=#{prefix}",
"--enable-release",
"--without-elisp"
system "make"
system "make check"
system "make install"
PureDocs.new.brew { system "make", "prefix=#{prefix}", "install" }
end
end