576185d345
snow_leopard_64? (defined in Hardware) is a short-cut for: MACOS_VERSION >= 10.6 and Hardware.is_64_bit? Signed-off-by: Adam Vandenberg <flangy@gmail.com>
21 lines
547 B
Ruby
21 lines
547 B
Ruby
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"
|
|
|
|
args = ["--disable-debug", "--disable-dependency-tracking",
|
|
"--disable-pthread", "--disable-mred", "--enable-xonx",
|
|
"--prefix=#{prefix}"]
|
|
args << "--enable-mac64" if snow_leopard_64?
|
|
|
|
system "./configure", *args
|
|
system "make"
|
|
system "make install"
|
|
end
|
|
end
|