# GNU MPFR 4.2.2 — floats de precisión arbitraria con redondeo correcto (libmpfr.so), sobre GMP. # Campaña KDE (ADR 0011): sustrato de libqalculate (motor matemático). Depende de gmp (#1 de esta tanda). # # compiler=zig-cc: el gueto-gcc del sandbox falla el link test (libgcc/ssp "wrong format"); zig cc compila # nativo lo construye idéntico a Alpine (mpfr-dev). link=dynamic (libtool descarta -static). # # --with-gmp=/usr: apunta al GMP sellado (headers en /usr/include, libgmp.so en /usr/lib). El flag exacto # de MPFR es --with-gmp=DIR (NO --with-gmp-prefix); con GMP en el prefix estándar /usr lo hallaría solo, # pero se explicita para determinismo. name = "mpfr" version = "4.2.2" license = "LGPL-3.0-or-later" [source] tarball = "https://ftp.gnu.org/gnu/mpfr/mpfr-4.2.2.tar.xz" sha256 = "b67ba0383ef7e8a8563734e2e889ef5ec3c3b898a01d00fa0a6869ad81c6ce01" [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' compile = 'make -j"$(nproc)"' install = "make install DESTDIR=/out && find /out -name '*.la' -delete" [deps] build = ["gmp", "pkgconf"]