blob: 465f7c3341fd6c812543e31e944a4b6ab7db0899 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
require 'formula'
class PltRacket < Formula
homepage 'http://racket-lang.org/'
url 'https://github.com/plt/racket/archive/v5.93.tar.gz'
sha1 '87bbf5f0f2819658b523fa74fbc566627164702b'
def install
cd 'racket/src' do
args = ["--disable-debug", "--disable-dependency-tracking",
"--enable-xonx",
"--prefix=#{prefix}" ]
args << '--disable-mac64' if not MacOS.prefer_64_bit?
system "./configure", *args
system "make"
system "make install"
end
end
def caveats; <<-EOS.undent
This is a minimal Racket distribution.
If you want to use the DrRacket IDE, we recommend that you use
the PLT-provided packages from http://racket-lang.org/download/.
EOS
end
end
|