SUMMARY="Arithmetics of complex numbers with arbitrarily high precision" DESCRIPTION="GNU Mpc is a C library for the arithmetic of complex numbers \ with arbitrarily high precision and correct rounding of the result. It \ extends the principles of the IEEE-754 standard for fixed precision real \ floating point numbers to complex numbers, providing well-defined semantics \ for every operation. At the same time, speed of operation at high precision \ is a major design goal." HOMEPAGE="http://www.multiprecision.org/mpc/" COPYRIGHT="2006-2011 INRIA" LICENSE="GNU LGPL v3" REVISION="2" SOURCE_URI="https://ftpmirror.gnu.org/mpc/mpc-$portVersion.tar.gz" CHECKSUM_SHA256="6985c538143c1208dcb1ac42cedad6ff52e267b47e5f970183a3e75125b43c2e" ARCHITECTURES="all" SECONDARY_ARCHITECTURES="x86" libVersion="3.1.0" libVersionCompat="$libVersion compat >= ${libVersion%%.*}" PROVIDES=" mpc$secondaryArchSuffix = $portVersion lib:libmpc$secondaryArchSuffix = $libVersionCompat " REQUIRES=" haiku$secondaryArchSuffix lib:libgmp$secondaryArchSuffix lib:libmpfr$secondaryArchSuffix " PROVIDES_devel=" mpc${secondaryArchSuffix}_devel = $portVersion devel:libmpc$secondaryArchSuffix = $libVersionCompat " REQUIRES_devel=" mpc$secondaryArchSuffix == $portVersion base " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel devel:libgmp$secondaryArchSuffix devel:libmpfr$secondaryArchSuffix " BUILD_PREREQUIRES=" cmd:awk cmd:gcc$secondaryArchSuffix cmd:make " defineDebugInfoPackage mpc$secondaryArchSuffix \ $libDir/libmpc.so.$libVersion BUILD() { runConfigure ./configure make $jobArgs } INSTALL() { make install rm $libDir/libmpc.la if [ -n "$secondaryArchSuffix" ]; then rm -rf $infoDir fi prepareInstalledDevelLib libmpc packageEntries devel $developDir } TEST() { make check }