homebrew-core/Formula/bdw-gc.rb

21 lines
586 B
Ruby
Raw Normal View History

require 'formula'
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/'
url 'http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc-7.2e.tar.gz'
sha1 '3ad593c6d0ed9c0951c21a657b86c55dab6365c8'
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