homebrew-core/Formula/mpfr.rb

19 lines
403 B
Ruby

require 'formula'
class Mpfr <Formula
url 'http://www.mpfr.org/mpfr-2.4.2/mpfr-2.4.2.tar.bz2'
homepage 'http://www.mpfr.org/'
md5 '89e59fe665e2b3ad44a6789f40b059a0'
depends_on 'gmp'
def patches
{:p1 => ['http://www.mpfr.org/mpfr-2.4.2/allpatches']}
end
def install
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make install"
end
end