require 'formula' class Mpfr ['http://www.mpfr.org/mpfr-3.0.0/allpatches']} end def install if Hardware.is_32_bit? or ARGV.include? "--32-bit" ENV.m32 args << "--host=none-apple-darwin" else ENV.m64 end system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make install" end end