require 'formula' class BdwGc < Formula homepage 'http://www.hpl.hp.com/personal/Hans_Boehm/gc/' url 'http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc-7.2c.tar.gz' sha1 '18c5b1aa9289a12fead3ceeda8fdc81f4ed08964' fails_with :clang do build 421 cause 'Segfault 11 during make check' end option :universal def install 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