aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMarkus Groß2010-04-20 22:52:06 +0200
committerAdam Vandenberg2010-04-30 08:45:55 -0700
commitc7c748299f4c06cb6ae76d493ecb7efc7dc33259 (patch)
treebf12d71c985e936b22ce15f16ba6baf68b145fb4 /Library/Formula
parent0316742e83832d2defe005e1e66fe57f4630ce1c (diff)
downloadhomebrew-c7c748299f4c06cb6ae76d493ecb7efc7dc33259.tar.bz2
New formula libmpc (actually it is called mpc, but this conflicts with the existing mpc)
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/libmpc.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/Library/Formula/libmpc.rb b/Library/Formula/libmpc.rb
new file mode 100644
index 000000000..d181bad51
--- /dev/null
+++ b/Library/Formula/libmpc.rb
@@ -0,0 +1,13 @@
+require 'formula'
+
+class Libmpc < Formula
+ url 'http://multiprecision.org/mpc/download/mpc-0.8.1.tar.gz'
+ homepage 'http://multiprecision.org'
+ md5 '5b34aa804d514cc295414a963aedb6bf'
+
+ def install
+ system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
+ system "make"
+ system "make install"
+ end
+end