require 'formula' class Mpfr ['http://www.mpfr.org/mpfr-current/allpatches']} end def install configure_args = [ "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking", ] system "./configure", *configure_args system "make install" end end