1
0
Fork 0
frozenports/math/mpc/SCHEMATIC

30 lines
1.1 KiB
Bash

#!/bin/sh
name="mpc"
short_desc="GNU multi-precision library"
desc="GNU MPC is a C library for the arithmetic of complex numbers with arbitrarily
high precision and correct rounding of the result. It extends the principles of the
IEEE-754 standard for fixed precision real floating point numbers to complex numbers,
providing well-defined semantics for every operation. At the same time, speed of
operation at high precision is a major design goal.
The library is built upon and follows the same principles as GNU MPFR."
category="math"
version="1.3.1"
maintainer="ffqq@danwin1210.de"
www="https://www.multiprecision.org/"
master_site="ftp://ftp.gnu.org/gnu/mpc"
source_name="$name-$version.tar.gz"
license_logic="single" # accepted values: single, and, or
licenses=("LGPL3+")
build_dependencies=("devel/pkgconf" "devel/gmake" "lang/gcc" "math/mpfr")
run_dependencies=("system/glibc" "math/mpfr")
build_process() {
cd $name-$version || exit 1
./configure --prefix=/usr \
--disable-static || exit 1
make -j$(nproc) || exit 1
make DESTDIR="$TAMANDUA_STAGE_DIR" install || exit 1
rm -r $TAMANDUA_STAGE_DIR/usr/share/info
}