homebrew-core/Formula/rust.rb
Jack Nagel 64afeec6d4 Use new fails_with DSL syntax
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-01 12:39:59 -05:00

24 lines
535 B
Ruby

require 'formula'
class Rust < Formula
url 'http://dl.rust-lang.org/dist/rust-0.2.tar.gz'
homepage 'http://www.rust-lang.org/'
md5 '47be90f952ec01c3088af58be78fd618'
fails_with :clang do
build 318
cause "cannot initialize a parameter of type 'volatile long long *' with an rvalue of type 'int *'"
end
def install
system "./configure", "--prefix=#{prefix}"
system "make"
system "make install"
end
def test
system "#{bin}/rustc"
system "#{bin}/rustdoc"
system "#{bin}/cargo"
end
end