aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMarkus Groß2010-04-20 22:51:12 +0200
committerAdam Vandenberg2010-04-24 20:51:36 -0700
commit3eb7ad6654010f6956cbade76b5294f10fe6002d (patch)
tree62fbb1452382f5749a0328a727c1b834356704ec /Library/Formula
parentc2a96b5305e48817427fb98343474eb764147029 (diff)
downloadhomebrew-3eb7ad6654010f6956cbade76b5294f10fe6002d.tar.bz2
Updated gmp to version 5.0.1.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/gmp.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/Library/Formula/gmp.rb b/Library/Formula/gmp.rb
index 680b0cd67..a8b4b4088 100644
--- a/Library/Formula/gmp.rb
+++ b/Library/Formula/gmp.rb
@@ -1,9 +1,9 @@
require 'formula'
class Gmp <Formula
- url 'ftp://ftp.gnu.org/gnu/gmp/gmp-4.3.1.tar.bz2'
+ url 'ftp://ftp.gnu.org/gnu/gmp/gmp-5.0.1.tar.bz2'
homepage 'http://gmplib.org/'
- sha1 'acbd1edc61230b1457e9742136994110e4f381b2'
+ sha1 '6340edc7ceb95f9015a758c7c0d196eb0f441d49'
def options
[
@@ -14,7 +14,7 @@ class Gmp <Formula
def install
# On OS X 10.6, some tests fail under LLVM
ENV.gcc_4_2
-
+
args = ["--prefix=#{prefix}", "--infodir=#{info}", "--disable-debug", "--disable-dependency-tracking", "--enable-cxx"]
# Doesn't compile correctly on 10.5 MacPro in 64 bit mode
@@ -22,12 +22,12 @@ class Gmp <Formula
ENV.m32
args << "--host=none-apple-darwin"
end
-
+
system "./configure", *args
system "make"
ENV.j1 # Don't install in parallel
system "make install"
-
+
# Different compilers and options can cause tests to fail even
# if everything compiles, so yes, we want to do this step.
system "make check" unless ARGV.include? "--skip-check"