4 |
PVER="0.9" |
PVER="0.9" |
5 |
PBUILD="r2" |
PBUILD="r2" |
6 |
|
|
7 |
PCATEGORIE="dev-libs" |
PCAT="dev-libs" |
8 |
|
|
9 |
DESCRIPTION="MPC is a C library for the arithmetic of complex numbers with arbitrarily high precision and correct rounding of the result." |
DESCRIPTION="MPC is a C library for the arithmetic of complex numbers with arbitrarily high precision and correct rounding of the result." |
10 |
HOMEPAGE="http://www.multiprecision.org/" |
HOMEPAGE="http://www.multiprecision.org/" |
11 |
|
|
12 |
# do not depend on glibc, as it depends ob libstdc++ and this wants mpc |
# do not depend on glibc, as it depends ob libstdc++ and this wants mpc |
13 |
# as SRCDEPEND -> this may generate loops |
# as SRCDEPEND -> this may generate loops |
14 |
DEPEND=">= dev-libs/gmp-5.0.2 |
DEPEND=">= dev-libs/gmp-5.0.5 |
15 |
>= dev-libs/mpfr-3.0.1" |
>= dev-libs/mpfr-3.1" |
16 |
|
|
17 |
SRCFILE="${PNAME}-${PVER}.tar.gz" |
SRCFILE="${PNAME}-${PVER}.tar.gz" |
18 |
SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
25 |
) |
) |
26 |
|
|
27 |
UP2DATE="updatecmd '${HOMEPAGE}?prog=mpc&page=download' | firsttarball gz" |
UP2DATE="updatecmd '${HOMEPAGE}?prog=mpc&page=download' | firsttarball gz" |
28 |
|
|
29 |
|
src_compile() |
30 |
|
{ |
31 |
|
# fixes an issue with grep while building shared lib |
32 |
|
EGREP="grep -E" mconfigure || die |
33 |
|
mmake || die |
34 |
|
} |