2011-03-10 05:11:03 +00:00
|
|
|
class BdwGc < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Garbage collector for C and C++"
|
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"
|
2015-07-14 10:10:55 +00:00
|
|
|
sha256 "63320ad7c45460e4a40e03f5aa4c6893783f21a16416c3282b994f933312afa2"
|
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
|
2015-07-16 23:51:45 +00:00
|
|
|
revision 2
|
2015-09-14 07:07:58 +00:00
|
|
|
sha256 "ba0257546369cd1879d66d3f1302194ae39767ccb5b012a20d16fdf5595b4326" => :el_capitan
|
2015-07-16 23:51:45 +00:00
|
|
|
sha256 "bb654d5b6952c8b22ce74d0081f900f3fd8628bb79105ba1b1ddc672fea6b067" => :yosemite
|
|
|
|
sha256 "ebbedf4fe84fbc6ccf621c7da954623443f1bc7596ca8c95efe72d4cba353d25" => :mavericks
|
|
|
|
sha256 "e5725f4c6b23ce7dc75e3e8fff51cd1f9f90858bad20d1ce00cf33499edf8f6b" => :mountain_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"
|
2015-08-03 12:55:31 +00:00
|
|
|
system "make", "check"
|
|
|
|
system "make", "install"
|
2009-09-19 17:59:58 +00:00
|
|
|
end
|
|
|
|
end
|