blob: e82152917d3bb883781d53c031d907f27060bee2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  | 
require 'formula'
class Scheme48 < Formula
  homepage 'http://www.s48.org/'
  url 'http://s48.org/1.9/scheme48-1.9.tgz'
  sha1 '8fd78d328a8c39ecd848e849ade094c30c2bb4ba'
  conflicts_with 'gambit-scheme', :because => 'both install `scheme-r5rs` binaries'
  conflicts_with 'scsh', :because => 'both install include/scheme48.h'
  def install
    ENV.O0 if ENV.compiler == :clang
    ENV.deparallelize
    system "./configure", "--disable-debug", "--disable-dependency-tracking",
                          "--prefix=#{prefix}",
                          "--enable-gc=bibop"
    system "make"
    system "make install"
  end
end
  |