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/"
|
2016-08-10 08:31:06 +00:00
|
|
|
url "http://www.hboehm.info/gc/gc_source/gc-7.6.0.tar.gz"
|
|
|
|
sha256 "a14a28b1129be90e55cd6f71127ffc5594e1091d5d54131528c24cd0c03b7d90"
|
2014-06-12 22:37:34 +00:00
|
|
|
|
2014-02-22 19:34:39 +00:00
|
|
|
bottle do
|
2016-09-12 07:08:36 +00:00
|
|
|
sha256 "fcbf63ca7801f54e098335ba3f7968bbcdf600e30ac878c68d61061d5923b9f1" => :sierra
|
2016-08-10 08:53:45 +00:00
|
|
|
sha256 "939e43625f304cc5d315f28147db4323da910e7ade2efddea01fade0c56faf48" => :el_capitan
|
|
|
|
sha256 "a49e8aaa7f869a5c7dec0d4e38bb02f6be7e82a45341953f3e761716e3836ef2" => :yosemite
|
|
|
|
sha256 "392bb21f15af6c0ea2a9edfe0641362672e9d7ce8d9fee121e6a64e6081f79b0" => :mavericks
|
2014-02-22 19:34:39 +00:00
|
|
|
end
|
|
|
|
|
2015-09-28 14:26:29 +00:00
|
|
|
head do
|
|
|
|
url "https://github.com/ivmai/bdwgc.git"
|
|
|
|
depends_on "autoconf" => :build
|
|
|
|
depends_on "automake" => :build
|
|
|
|
depends_on "libtool" => :build
|
|
|
|
end
|
|
|
|
|
2012-08-09 05:10:35 +00:00
|
|
|
option :universal
|
2012-07-17 02:09:28 +00:00
|
|
|
|
2015-09-28 14:26:29 +00:00
|
|
|
depends_on "pkg-config" => :build
|
|
|
|
depends_on "libatomic_ops" => :build
|
|
|
|
|
2011-03-21 21:24:22 +00:00
|
|
|
def install
|
2012-08-09 05:10:35 +00:00
|
|
|
ENV.universal_binary if build.universal?
|
2015-09-28 14:26:29 +00:00
|
|
|
|
|
|
|
system "./autogen.sh" if build.head?
|
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
|