Files
chromebrew/packages/mpfr.rb
Satadru Pramanik, DO, MPH, MEng 419ff87c67 Fix buildsystems/autotools install_extras, Update mpc, mpfr, gawk, autoconf_archive, sphinx (#10600)
* Fix buildsystems/autotools install_extras, update mpc, mpfr, gawk, autoconf_archive, sphinx, update reviewdog to add reviews to PR

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Fix issue with getrealdeps invocation fails during a upx or gawk install.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
2024-10-12 21:15:42 -05:00

30 lines
1.0 KiB
Ruby

require 'buildsystems/autotools'
class Mpfr < Autotools
description 'The MPFR library is a C library for multiple-precision floating-point computations with correct rounding.'
homepage 'https://www.mpfr.org/'
version '4.2.1'
license 'LGPL-2.1'
compatibility 'all'
source_url "https://www.mpfr.org/mpfr-current/mpfr-#{version}.tar.xz"
source_sha256 '277807353a6726978996945af13e52829e3abd7a9a5b7fb2793894e18f1fcbb2'
binary_compression 'tar.zst'
binary_sha256({
aarch64: '0a8fbf432ec14ab1641c76bbe4d152ebf4382870c85214fc3dd62dd57207f8e4',
armv7l: '0a8fbf432ec14ab1641c76bbe4d152ebf4382870c85214fc3dd62dd57207f8e4',
i686: '4d8c9dc1b2d8b6161554bb3b63e919ac76cc5edbfd828b2dfd301dc61603c06e',
x86_64: 'c9f4ba6d151d330702384bd29b3cf080b357dbf8da6be06597f57f00d21750a0'
})
depends_on 'autoconf_archive' => :build
depends_on 'glibc' # R
depends_on 'gmp' # R
configure_options '--enable-shared'
def self.check
system "LD_LIBRARY_PATH=\$(pwd)/src/.libs:\$LD_LIBRARY_PATH make check"
end
end