#!/bin/bash # Build script for MPFR set -e cd "$SRCDIR" export PATH="/usr/gnu/bin:$PATH" export CC="gcc -m64" export CXX="g++ -m64" export CFLAGS="-m64 -O2" export CXXFLAGS="-m64 -O2" export LDFLAGS="-L$PREFIX/lib $LDFLAGS" ./configure \ --prefix=$PREFIX \ --libdir=$PREFIX/lib \ --with-gmp=$PREFIX gmake -j${JOBS:-1} gmake install DESTDIR="$PKGDIR" # MPFR - Multiple Precision Floating-Point Reliable Library # https://www.mpfr.org/ [package] name = "mpfr" version = "4.2.1" release = 1 description = "Multiple Precision Floating-Point Reliable Library" url = "https://www.mpfr.org/" license = "LGPL-3.0-or-later" maintainer = "Chris Tusa " arch = "x86_64" [dependencies] runtime = ["gmp"] build = ["gmp"] [[source]] file = "mpfr-4.2.1.tar.xz" urls = [ "https://ftpmirror.gnu.org/mpfr/mpfr-4.2.1.tar.xz", "https://ftp.gnu.org/gnu/mpfr/mpfr-4.2.1.tar.xz", "https://mirrors.kernel.org/gnu/mpfr/mpfr-4.2.1.tar.xz" ] checksum = "277807353a6726978996945af13e52829e3abd7a9a5b7fb2793894e18f1fcbb2" [build] parallel = true