Contents of /smage/trunk/core/mpc/mpc-1.1.0-r2.smage2
Parent Directory | Revision Log
Revision 11809 -
(show annotations)
(download)
Mon Aug 13 10:16:05 2018 UTC (6 years, 1 month ago) by niro
File size: 842 byte(s)
Mon Aug 13 10:16:05 2018 UTC (6 years, 1 month ago) by niro
File size: 842 byte(s)
-linux-libc-headers-4.9.118, binutils-2.31.1, glibc-2.27, gcc-8.2.0 toolchain - stage2
1 | # $Id$ |
2 | |
3 | PNAME="mpc" |
4 | PVER="1.1.0" |
5 | PBUILD="r2" |
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-dev-6.0 |
15 | >= dev-libs/mpfr-4.0" |
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 | gnu://${PNAME}/${SRCFILE} |
25 | mirror://${PNAME}/${SRCFILE} |
26 | ) |
27 | |
28 | UP2DATE="updatecmd ${HOMEPAGE}${PNAME}/download.html | highesttarball gz" |
29 | |
30 | src_compile() |
31 | { |
32 | # fixes an issue with grep while building shared lib |
33 | EGREP="grep -E" mconfigure || die |
34 | mmake || die |
35 | } |