homebrew-core/Formula/llvm.rb

16 lines
433 B
Ruby
Raw Normal View History

require 'brewkit'
class Llvm <Formula
@url='http://llvm.org/releases/2.5/llvm-2.5.tar.gz'
@homepage='http://llvm.org/'
@md5='55df2ea8665c8094ad2ef85187b9fc74'
def install
system "./configure", "--prefix=#{prefix}",
"--enable-targets=x86",
"--enable-optimized"
system "make"
system "make install" # seperate steps required, otherwise the build fails
end
end