2010-04-20 20:52:06 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Libmpc < Formula
|
2010-08-16 17:59:22 +00:00
|
|
|
url 'http://multiprecision.org/mpc/download/mpc-0.8.2.tar.gz'
|
2010-04-20 20:52:06 +00:00
|
|
|
homepage 'http://multiprecision.org'
|
2010-08-16 17:59:22 +00:00
|
|
|
md5 'e98267ebd5648a39f881d66797122fb6'
|
2010-04-20 20:52:06 +00:00
|
|
|
|
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
|