Contents of /branches/magellan-next/core/mpc/mpc-0.9-r1.smage2
Parent Directory | Revision Log
Revision 7523 -
(show annotations)
(download)
Tue May 24 12:43:23 2011 UTC (13 years, 4 months ago) by niro
File size: 836 byte(s)
Tue May 24 12:43:23 2011 UTC (13 years, 4 months ago) by niro
File size: 836 byte(s)
-fixed build of shared lib
1 | # $Id$ |
2 | |
3 | PNAME="mpc" |
4 | PVER="0.9" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="dev-libs" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="MPC is a C library for the arithmetic of complex numbers with arbitrarily high precision and correct rounding of the result." |
11 | HOMEPAGE="http://www.multiprecision.org/" |
12 | |
13 | # do not depend on glibc, as it depends ob libstdc++ and this wants mpc |
14 | # as SRCDEPEND -> this may generate loops |
15 | DEPEND=">= dev-libs/gmp-5.0.2 |
16 | >= dev-libs/mpfr-3.0.1" |
17 | |
18 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
19 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
20 | |
21 | sminclude mbuild multilib |
22 | |
23 | SRC_URI=( |
24 | http://www.multiprecision.org/${PNAME}/download/${SRCFILE} |
25 | mirror://${PNAME}/${SRCFILE} |
26 | ) |
27 | |
28 | UP2DATE="updatecmd '${HOMEPAGE}?prog=mpc&page=download' | firsttarball 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 | } |