homebrew-core/Formula/plt-racket.rb
Aku Kotkavuo d96dc68b9a Update plt-racket to 5.1.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-02-26 11:34:10 -08:00

29 lines
783 B
Ruby

require 'formula'
class PltRacket <Formula
# Use GitHub; tarball doesn't have everything needed for building on OS X
url 'git://github.com/plt/racket.git', :tag => 'v5.1'
homepage 'http://racket-lang.org/'
version '5.1'
# Don't strip symbols; need them for dynamic linking.
skip_clean 'bin'
def install
Dir.chdir 'src' do
args = ["--disable-debug", "--disable-dependency-tracking",
"--enable-xonx",
"--enable-shared",
"--prefix=#{prefix}" ]
if snow_leopard_64?
args += ["--enable-mac64", "--enable-sgc", "--disable-gracket"]
end
system "./configure", *args
system "make"
ohai "Installing might take a long time (~40 minutes)"
system "make install"
end
end
end