2014-06-22 00:50:34 +00:00
|
|
|
require "formula"
|
2009-09-19 17:59:58 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class BdwGc < Formula
|
2014-06-22 00:50:34 +00:00
|
|
|
homepage "http://www.hboehm.info/gc/"
|
|
|
|
url "http://www.hboehm.info/gc/gc_source/gc-7.4.2.tar.gz"
|
|
|
|
sha1 "cd4a54620c38a2c361b3ee99dd134dbffb57c313"
|
2014-06-12 22:37:34 +00:00
|
|
|
|
2014-06-22 00:50:34 +00:00
|
|
|
depends_on "pkg-config" => :build
|
|
|
|
depends_on "libatomic_ops" => :build
|
2012-08-08 18:12:20 +00:00
|
|
|
|
2014-02-22 19:34:39 +00:00
|
|
|
bottle do
|
2014-06-22 01:13:31 +00:00
|
|
|
sha1 "ec34da6a822836bf96e450def06569a8809410a8" => :mavericks
|
|
|
|
sha1 "84f85673490d30f0de336ddf8f4c3fd5495d1b18" => :mountain_lion
|
|
|
|
sha1 "433a316925295305a006cefd6adb48244768bfe1" => :lion
|
2014-02-22 19:34:39 +00:00
|
|
|
end
|
|
|
|
|
2012-08-09 05:10:35 +00:00
|
|
|
option :universal
|
2012-07-17 02:09:28 +00:00
|
|
|
|
2011-03-21 21:24:22 +00:00
|
|
|
def install
|
2012-08-09 05:10:35 +00:00
|
|
|
ENV.universal_binary if build.universal?
|
2011-11-15 22:33:48 +00:00
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
2012-01-27 19:02:30 +00:00
|
|
|
"--prefix=#{prefix}",
|
2011-11-15 22:33:48 +00:00
|
|
|
"--enable-cplusplus"
|
2011-10-30 02:59:34 +00:00
|
|
|
system "make"
|
|
|
|
system "make check"
|
2009-09-19 17:59:58 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|