# Basic information
name="mpfr"
version="4.2.0"
dependencies=(gmp)

# Download options
format="tar"
url="https://www.mpfr.org/mpfr-current/mpfr-$version.tar.gz"
output="mpfr-$version.tar.gz"
sha256sum="f1cc1c6bb14d18f0c61cc416e083f5e697b6e0e3cf9630b9b33e8e483fc960f0"

# Build instructions
default_build_make=true
default_install_make=true

do_configure()
{
    $srcdir/configure --enable-shared=no --with-gnu-ld --host=$LUNA_ARCH-luna --prefix=/usr
}