Commit 9280c6ce authored by Ed Reel's avatar Ed Reel Committed by GitHub

Update gmp from 6.1.2-3 to 6.2.0 (#3990)

Enable C++ support

Add pre-built binaries
parent 6c8e3ba4
...@@ -3,21 +3,21 @@ require 'package' ...@@ -3,21 +3,21 @@ require 'package'
class Gmp < Package class Gmp < Package
description 'GMP is a free library for arbitrary precision arithmetic, operating on signed integers, rational numbers, and floating-point numbers.' description 'GMP is a free library for arbitrary precision arithmetic, operating on signed integers, rational numbers, and floating-point numbers.'
homepage 'https://gmplib.org/' homepage 'https://gmplib.org/'
version '6.1.2-3' version '6.2.0'
source_url 'https://gmplib.org/download/gmp/gmp-6.1.2.tar.lz' source_url 'https://gmplib.org/download/gmp/gmp-6.2.0.tar.lz'
source_sha256 '12fed0532d440d2dc902e64f016aa89a33af6044b90bd1f7bca7396635105dbb' source_sha256 '3f33f127bcb6b2c3601676cd3281df45824b148cbf688b73c0fc8248793667d9'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gmp-6.1.2-3-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/gmp-6.2.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gmp-6.1.2-3-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/gmp-6.2.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/gmp-6.1.2-3-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/gmp-6.2.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gmp-6.1.2-3-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/gmp-6.2.0-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: 'f0f4d5cf889790f1e7ed8f0658ce3ec59e5e2a1d090e1093cacf11d49dc77149', aarch64: '2808a85d261fb740f5278be8ea25aca44de63e7512fbbf5a19bf133db5b5c152',
armv7l: 'f0f4d5cf889790f1e7ed8f0658ce3ec59e5e2a1d090e1093cacf11d49dc77149', armv7l: '2808a85d261fb740f5278be8ea25aca44de63e7512fbbf5a19bf133db5b5c152',
i686: 'e87a90631b9cb7de0efddf44013dffb5953d47739795494dda741afbd6099af2', i686: '0bc6669b80774effaaad213e4b13c624fc879f62804672beea1244634c02c1c2',
x86_64: 'cc5af938f7de17899ee55850dc74f1ede4f67e91473597c82687cdad68a01247', x86_64: '13f50bef5b6d30967fcd227dc750d972d5d2c1f471548c23dce5113dc952eeff',
}) })
def self.build def self.build
...@@ -25,15 +25,16 @@ class Gmp < Package ...@@ -25,15 +25,16 @@ class Gmp < Package
system './configure', system './configure',
"--prefix=#{CREW_PREFIX}", "--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}", "--libdir=#{CREW_LIB_PREFIX}",
'--disable-maintainer-mode' '--disable-maintainer-mode',
'--enable-cxx'
system 'make' system 'make'
end end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
def self.check def self.check
system 'make', 'check' system 'make', 'check'
end end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment