mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
* Update buildsystems, update jq, add jq to core for arm. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Only report build options if they exist. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Fix overeager sed replacement. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * workflow debugging Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add logging for build errors. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Revert to function in each package file. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Update jq since it needs gcc14 to build. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add built packages for linux/386 to buildsystems * remove deprecated gfbgraph Signed-off-by: Satadru Pramanik <satadru@gmail.com> * fix git tag for gnome_maps Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Update llvm20 package file. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Update gnome_maps deps. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Abstract out buildsystems_methods reporting. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Keep LIBC_VERSION const from being empty. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Update crew_profile_base and libxml2 Signed-off-by: Satadru Pramanik <satadru@gmail.com> * clarify Signed-off-by: Satadru Pramanik <satadru@gmail.com> * lint Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Update libarchive Signed-off-by: Satadru Pramanik <satadru@gmail.com> * update libavif Signed-off-by: Satadru Pramanik <satadru@gmail.com> * more updates Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add libxml2 build comment. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add build comment to libarchive. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Don't warn for missing directory during package removal. Signed-off-by: Satadru Pramanik <satadru@gmail.com> --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: satmandu <satmandu@users.noreply.github.com>
30 lines
1.0 KiB
Ruby
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.2'
|
|
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: '5a7157000e960f6d449d697a654571d8de88a4210d5a59fa8501ff0c99741008',
|
|
armv7l: '5a7157000e960f6d449d697a654571d8de88a4210d5a59fa8501ff0c99741008',
|
|
i686: '058142ec3d1bd25d09fc887701647325ac51e3d21cf40ddd4464f713e341d641',
|
|
x86_64: '50c33d094ae6b5f06096b05bebb9a86da72df20916831eaf95dd09b6752544f7'
|
|
})
|
|
|
|
depends_on 'autoconf_archive' => :build
|
|
depends_on 'glibc' # R
|
|
depends_on 'gmp' # R
|
|
|
|
autotools_configure_options '--enable-shared'
|
|
|
|
def self.check
|
|
system "LD_LIBRARY_PATH=\$(pwd)/src/.libs:\$LD_LIBRARY_PATH make check"
|
|
end
|
|
end
|