blob: 3b5094c5b3c7d1c016a6b3c25e1e209ade595c77 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
require 'formula'
class MzScheme <Formula
url 'http://download.plt-scheme.org/bundles/4.2.5/mz/mz-4.2.5-src-unix.tgz'
homepage 'http://plt-scheme.org/'
md5 '5d320c94e168ab58237c0e710c6050d0'
version '4.2.5'
def install
cd "src"
options = ["--disable-pthread", "--disable-mred", "--enable-xonx", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"]
options << "--enable-mac64" if Hardware.is_64_bit? && MACOS_VERSION >= 10.6
system "./configure", *options
system "make"
system "make install"
end
end
|