# $Id$ PNAME="mpc" PVER="1.1.0" PBUILD="r1" PCAT="dev-libs" DESCRIPTION="MPC is a C library for the arithmetic of complex numbers with arbitrarily high precision and correct rounding of the result." HOMEPAGE="http://www.multiprecision.org/" # do not depend on glibc, as it depends ob libstdc++ and this wants mpc # as SRCDEPEND -> this may generate loops DEPEND=">= dev-libs/gmp-6.0 >= dev-libs/mpfr-4.0" SRCFILE="${PNAME}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude multilib mbuild SRC_URI=( #http://www.multiprecision.org/${PNAME}/download/${SRCFILE} gnu://${PNAME}/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2DATE="updatecmd ${HOMEPAGE}${PNAME}/download.html | highesttarball gz" src_compile() { # fixes an issue with grep while building shared lib EGREP="grep -E" mconfigure || die mmake || die }