Gambit Scheme 4.6.4

master
Adam Vandenberg 2012-03-10 20:39:45 -08:00
parent 40a97dff16
commit 1d7fc92d64
1 changed files with 10 additions and 15 deletions

View File

@ -1,9 +1,9 @@
require 'formula'
class GambitScheme < Formula
url 'http://www.iro.umontreal.ca/~gambit/download/gambit/v4.6/source/gambc-v4_6_2.tgz'
homepage 'http://dynamo.iro.umontreal.ca/~gambit/wiki/index.php/Main_Page'
md5 'f6230a1f1f56b8113e0b9e391074bcb0'
url 'http://www.iro.umontreal.ca/~gambit/download/gambit/v4.6/source/gambc-v4_6_4.tgz'
md5 'f4a65f834b36b7ffbd0292021889a8e3'
def options
[
@ -17,20 +17,15 @@ class GambitScheme < Formula
fails_with_llvm "ld crashes during the build process or segfault at runtime", :build => 2335
def install
ENV.O2 # Gambit Scheme doesn't like full optimizations
args = ["--disable-debug",
"--prefix=#{prefix}",
"--infodir=#{info}",
# Recommended to improve the execution speed and compactness
# of the generated executables. Increases compilation times.
"--enable-single-host"]
args << "--enable-shared" if ARGV.include? '--enable-shared'
configure_args = [
"--prefix=#{prefix}",
"--infodir=#{info}",
"--disable-debug",
# Recommended to improve the execution speed and compactness
# of the generated executables. Increases compilation times.
"--enable-single-host"
]
configure_args << "--enable-shared" if ARGV.include? '--enable-shared'
system "./configure", *configure_args
system "./configure", *args
system "make check" if ARGV.include? '--with-check'
ENV.j1