aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/bdw-gc.rb
blob: 487717d4fe9b63ebf1fb8d6f5ee659c21bf67f08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
require 'formula'

class BdwGc < Formula
  homepage 'http://www.hboehm.info/gc/'
  url 'http://www.hboehm.info/gc/gc_source/gc-7.2e.tar.gz'
  sha1 '3ad593c6d0ed9c0951c21a657b86c55dab6365c8'

  bottle do
    cellar :any
    sha1 "267d3e346e5d8a9fff781ee58a7aa3b33e31b3db" => :mavericks
    sha1 "a92904c2e10891252bb212eb4a438094a36de8c8" => :mountain_lion
    sha1 "ecc4b3bded24d5a48255c4c4d5295680d5befcf2" => :lion
  end

  option :universal

  def install
    ENV.universal_binary if build.universal?
    system "./configure", "--disable-debug",
                          "--disable-dependency-tracking",
                          "--prefix=#{prefix}",
                          "--enable-cplusplus"
    system "make"
    system "make check"
    system "make install"
  end
end