homebrew-core/Formula/plt-racket.rb
Andrew Janke c8d2d41c1d Change github /tarball/ URLs to /archive/ for formulae L-Z
This takes care of a `brew audit` complaint.

Closes Homebrew/homebrew#18828.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-03-29 14:59:28 -07:00

27 lines
784 B
Ruby

require 'formula'
class PltRacket < Formula
homepage 'http://racket-lang.org/'
# Use GitHub tarball as the release tarball doesn't have
# everything needed for building on OS X
url 'https://github.com/plt/racket/archive/v5.2.tar.gz'
sha1 '313425909ff8d956c3e99d0a2b5b3cb12d0f98ad'
def install
cd 'src' do
args = ["--disable-debug", "--disable-dependency-tracking",
"--enable-xonx",
"--enable-shared",
"--prefix=#{prefix}" ]
if MacOS.prefer_64_bit?
args += ["--enable-mac64", "--enable-sgc", "--disable-gracket"]
end
system "./configure", *args
system "make"
ohai "Installing may take a long time (~40 minutes)" unless ARGV.verbose?
system "make install"
end
end
end