homebrew-core/Formula/bdw-gc.rb
alexrp d3da61d1a0 bdw-gc: add --universal option
Closes Homebrew/homebrew#13443.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2012-07-17 23:29:28 -05:00

22 lines
636 B
Ruby

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.2.tar.gz'
md5 'd17aecedef3d73e75387fb63558fa4eb'
def options
[['--universal', 'Make a 32/64-bit Intel build.']]
end
def install
ENV.universal_binary if ARGV.build_universal?
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--prefix=#{prefix}",
"--enable-cplusplus"
system "make"
system "make check"
system "make install"
end
end