1
0
Fork 0
frozenports/math/mpfr/SCHEMATIC

32 lines
1.3 KiB
Plaintext
Raw Normal View History

2024-01-22 10:46:08 +00:00
#!/bin/sh
name="mpfr"
short_desc="GNU MPFR Library"
desc="The MPFR library is a C library for multiple-precision floating-point computations with correct rounding.
MPFR has continuously been supported by the INRIA and the current main authors
come from the Caramba and AriC project-teams at Loria (Nancy, France) and LIP (Lyon, France)
respectively; see more on the credit page. MPFR is based on the GMP multiple-precision library.
The main goal of MPFR is to provide a library for multiple-precision floating-point computation which is both
efficient and has a well-defined semantics. It copies the good ideas from the ANSI/IEEE-754 standard for
double-precision floating-point arithmetic (53-bit significand)."
category="math"
version="4.2.1"
maintainer="ffqq@danwin1210.de"
www="https://www.mpfr.org/"
master_site="ftp://ftp.gnu.org/gnu/mpfr"
source_name="$name-$version.tar.xz"
license_logic="single" # accepted values: single, and, or
licenses=("LGPL3+")
build_dependencies=("devel/pkgconf" "devel/gmake" "lang/gcc" "math/gmp")
run_dependencies=("system/glibc")
build_process() {
cd $name-$version || exit 1
./configure --prefix=/usr \
--disable-static \
--enable-thread-safe || exit 1
make -j$(nproc) || exit 1
make DESTDIR="$TAMANDUA_STAGE_DIR" install || exit 1
rm -r $TAMANDUA_STAGE_DIR/usr/share/info
}