homebrew-core/Formula/bdw-gc.rb

30 lines
841 B
Ruby
Raw Normal View History

2014-06-22 00:50:34 +00:00
require "formula"
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-22 00:50:34 +00:00
depends_on "pkg-config" => :build
depends_on "libatomic_ops" => :build
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
2011-03-21 21:24:22 +00:00
def install
2012-08-09 05:10:35 +00:00
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