2010-07-19 15:42:01 +00:00
|
|
|
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"
|
|
|
|
|
2010-08-08 04:04:37 +00:00
|
|
|
args = ["--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--disable-pthread", "--disable-mred", "--enable-xonx",
|
|
|
|
"--prefix=#{prefix}"]
|
|
|
|
args << "--enable-mac64" if snow_leopard_64?
|
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
|