diff options
| author | Xu Cheng | 2014-12-28 22:28:59 +0800 |
|---|---|---|
| committer | Mike McQuaid | 2014-12-28 16:58:51 +0000 |
| commit | 357c95ea9681b00aa2834d5dd15a0517240432b3 (patch) | |
| tree | b1a51781a63bfe0dfda5e9ce5a8d98ce6e2460f6 /Library | |
| parent | a9f4fe57ae08564036ada14446e13371a7fd1065 (diff) | |
| download | homebrew-357c95ea9681b00aa2834d5dd15a0517240432b3.tar.bz2 | |
gmp: modernize
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/gmp.rb | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/Library/Formula/gmp.rb b/Library/Formula/gmp.rb index 67398e5e4..705319abf 100644 --- a/Library/Formula/gmp.rb +++ b/Library/Formula/gmp.rb @@ -1,11 +1,9 @@ -require 'formula' - class Gmp < Formula - homepage 'http://gmplib.org/' - url 'http://ftpmirror.gnu.org/gmp/gmp-6.0.0a.tar.bz2' - mirror 'ftp://ftp.gmplib.org/pub/gmp/gmp-6.0.0a.tar.bz2' - mirror 'http://ftp.gnu.org/gnu/gmp/gmp-6.0.0a.tar.bz2' - sha1 '360802e3541a3da08ab4b55268c80f799939fddc' + homepage "http://gmplib.org/" + url "http://ftpmirror.gnu.org/gmp/gmp-6.0.0a.tar.bz2" + mirror "ftp://ftp.gmplib.org/pub/gmp/gmp-6.0.0a.tar.bz2" + mirror "http://ftp.gnu.org/gnu/gmp/gmp-6.0.0a.tar.bz2" + sha1 "360802e3541a3da08ab4b55268c80f799939fddc" bottle do cellar :any @@ -15,7 +13,7 @@ class Gmp < Formula sha1 "466b7549553bf0e8f14ab018bd89c48cbd29a379" => :lion end - option '32-bit' + option "32-bit" option :cxx11 def install @@ -33,8 +31,8 @@ class Gmp < Formula system "./configure", *args system "make" - system "make check" + system "make", "check" ENV.deparallelize - system "make install" + system "make", "install" end end |
