Annotation of /trunk/core/mpc/mpc-1.0.3-r3.smage2
Parent Directory | Revision Log
Revision 30407 -
(hide annotations)
(download)
Thu Jan 18 12:21:46 2018 UTC (6 years, 8 months ago) by niro
File size: 811 byte(s)
Thu Jan 18 12:21:46 2018 UTC (6 years, 8 months ago) by niro
File size: 811 byte(s)
auto added: ver bump to 1.0.3-r3
1 | niro | 30407 | # $Id$ |
2 | |||
3 | PNAME="mpc" | ||
4 | PVER="1.0.3" | ||
5 | PBUILD="r3" | ||
6 | |||
7 | 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." | ||
10 | HOMEPAGE="http://www.multiprecision.org/" | ||
11 | |||
12 | # do not depend on glibc, as it depends ob libstdc++ and this wants mpc | ||
13 | # as SRCDEPEND -> this may generate loops | ||
14 | DEPEND=">= dev-libs/gmp-6.0 | ||
15 | >= dev-libs/mpfr-3.1" | ||
16 | |||
17 | SRCFILE="${PNAME}-${PVER}.tar.gz" | ||
18 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
19 | |||
20 | sminclude multilib mbuild | ||
21 | |||
22 | SRC_URI=( | ||
23 | http://www.multiprecision.org/${PNAME}/download/${SRCFILE} | ||
24 | mirror://${PNAME}/${SRCFILE} | ||
25 | ) | ||
26 | |||
27 | 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 | } |