2010-04-20 20:52:06 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Libmpc < Formula
|
|
|
|
url 'http://multiprecision.org/mpc/download/mpc-0.8.1.tar.gz'
|
|
|
|
homepage 'http://multiprecision.org'
|
|
|
|
md5 '5b34aa804d514cc295414a963aedb6bf'
|
|
|
|
|
2010-04-26 07:03:46 +00:00
|
|
|
depends_on 'gmp'
|
|
|
|
depends_on 'mpfr'
|
|
|
|
|
2010-04-20 20:52:06 +00:00
|
|
|
def install
|
|
|
|
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
|
|
|
system "make"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|