2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-19 17:59:58 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class BdwGc < Formula
|
2009-11-21 06:52:02 +00:00
|
|
|
homepage 'http://www.hpl.hp.com/personal/Hans_Boehm/gc/'
|
2012-08-17 17:10:01 +00:00
|
|
|
url 'http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc-7.2d.tar.gz'
|
|
|
|
sha1 'b43573800e27361da78f05a2e98394521cfa04fc'
|
2012-08-08 18:12:20 +00:00
|
|
|
|
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
|