aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/mpfr.rb19
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/mpfr.rb b/Library/Formula/mpfr.rb
new file mode 100644
index 000000000..100946d47
--- /dev/null
+++ b/Library/Formula/mpfr.rb
@@ -0,0 +1,19 @@
+require 'formula'
+
+class Mpfr <Formula
+ url 'http://www.mpfr.org/mpfr-current/mpfr-2.4.2.tar.bz2'
+ homepage 'http://www.mpfr.org/'
+ md5 '89e59fe665e2b3ad44a6789f40b059a0'
+
+ depends_on 'gmp'
+
+ def install
+ configure_args = [
+ "--prefix=#{prefix}",
+ "--disable-debug",
+ "--disable-dependency-tracking",
+ ]
+ system "./configure", *configure_args
+ system "make install"
+ end
+end