Files
chromebrew/packages/mpc.rb
Satadru Pramanik, DO, MPH, MEng 3e0e7f9c00 Adjust gnu sources to not use ftpmirror. — a2ps: 4.15.6 → 4.15.6,alive: 2.0.5 → 2.0.5,aspell_fr: 0.50-3 → 0.50-3,autoconf: 2.72 → 2.72,autoconf_archive: 2024.10.16 → 2024.10.16,automake: 1.18.1 → 1.18.1,bc: 1.08.2 → 1.08.2,bison: 3.8.... (#14775)
* Adjust gnu sources to not use ftpmirror.

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

* ed => 1.22.5

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

* Mark packages from successful builds as automatically buildable.

* gnu_avoid_ftpmirror: Package File Update Run on linux/386 container.

* gnu_avoid_ftpmirror: Package File Update Run on linux/amd64 container.

* gnu_avoid_ftpmirror: Package File Update Run on linux/arm/v7 container.

* Truncate PR Title length as per GitHub requirements.

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

* Adjust gnuastro compatibility.

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

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: Ed Reel <edreel@gmail.com>
Co-authored-by: satmandu <satmandu@users.noreply.github.com>
Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com>
2026-02-23 19:25:09 +00:00

27 lines
992 B
Ruby

require 'buildsystems/autotools'
class Mpc < Autotools
description 'Gnu Mpc is a C library for the arithmetic of complex numbers with arbitrarily high precision and correct rounding of the result.'
homepage 'https://www.multiprecision.org'
version '1.3.1'
license 'LGPL-2.1'
compatibility 'all'
source_url "https://ftp.gnu.org/gnu/mpc/mpc-#{version}.tar.gz"
source_sha256 '17503d2c395dfcf106b622dc142683c1199431d095367c6aacba6eec30340459'
binary_compression 'tar.zst'
binary_sha256({
aarch64: 'e2083196d2ce35edf739c9a324f3fb73474de7bff8a8c9446d05b0d53f465b9b',
armv7l: 'e2083196d2ce35edf739c9a324f3fb73474de7bff8a8c9446d05b0d53f465b9b',
i686: 'a9ffe02042d34189cee4e4015be7ab3c3541c0db15ad4c7e27ee57bd0314cbe4',
x86_64: '57493dcf7256ec86735f554da1bdb1255c7c46329cf4d52cbbd44cd74f6326c3'
})
depends_on 'glibc' # R
depends_on 'gmp' # R
depends_on 'mpfr' # R
autotools_configure_options '--disable-maintainer-mode \
--enable-shared'
end