2010-07-19 15:42:01 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class MzScheme < Formula
|
2010-07-19 15:42:01 +00:00
|
|
|
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"
|
|
|
|
|
2010-08-08 04:04:37 +00:00
|
|
|
args = ["--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--disable-pthread", "--disable-mred", "--enable-xonx",
|
|
|
|
"--prefix=#{prefix}"]
|
2011-03-18 17:30:47 +00:00
|
|
|
args << "--enable-mac64" if MacOS.prefer_64_bit?
|
2010-04-07 05:58:35 +00:00
|
|
|
|
|
|
|
system "./configure", *args
|
2010-07-19 15:42:01 +00:00
|
|
|
system "make"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|