# GNU MPC 1.3.1 — aritmética de números complejos de precisión arbitraria con redondeo correcto # (libmpc.so), sobre GMP+MPFR. Campaña KDE (ADR 0011): lo exige knumber (el motor matemático de KCalc); # knumber/knumber_complex.cpp incluye incondicionalmente ⇒ MPC es build-dep duro de kcalc. # # compiler=zig-cc como gmp/mpfr (el gueto-gcc del sandbox falla el link test libgcc/ssp "wrong format"). # --with-gmp=/usr --with-mpfr=/usr apuntan a los sellados. link=dynamic (libtool descarta -static). name = "mpc" version = "1.3.1" license = "LGPL-3.0-or-later" [source] tarball = "https://ftp.gnu.org/gnu/mpc/mpc-1.3.1.tar.gz" sha256 = "ab642492f5cf882b74aa0cb730cd410a81edcdbec895183ce930e706c1c759b8" [build] compiler = "zig-cc" zig_version = "0.13.0" target = "x86_64-linux-musl" link = "dynamic" flags = [] [build.phases] configure = './configure --build=$CBUILD --host=$CHOST --prefix=/usr --disable-static --enable-shared --with-gmp=/usr --with-mpfr=/usr' compile = 'make -j"$(nproc)"' install = "make install DESTDIR=/out && find /out -name '*.la' -delete" [deps] build = ["gmp", "mpfr", "pkgconf"]