SUMMARY="A specialized computer algebra system" DESCRIPTION="PARI/GP is a specialized computer algebra system, primarily \ aimed at number theorists, but has been put to good use in many other \ different fields, from topology or numerical analysis to physics. Although quite an amount of symbolic manipulation is possible, PARI does \ badly compared to systems like Axiom, Magma, Maple, Mathematica, Maxima, or \ Reduce on such tasks, e.g.~multivariate polynomials, formal integration, \ etc. On the other hand, the three main advantages of the system are its \ speed, the possibility of using directly data types which are familiar to \ mathematicians, and its extensive algebraic number theory module (from \ the above-mentioned systems, only Magma provides similar features)." HOMEPAGE="http://pari.math.u-bordeaux.fr/" COPYRIGHT="2000-2014 The PARI Group, Bordeaux" LICENSE="GNU GPL v2" REVISION="1" SOURCE_URI="http://pari.math.u-bordeaux.fr/pub/pari/unix/pari-$portVersion.tar.gz" CHECKSUM_SHA256="ffe9940194b4a1274d8aa690d985e11539be36fcdd2215b74c39b30470a567c2" PATCHES="$portVersionedName.patchset" ARCHITECTURES="x86 ?x86_gcc2 x86_64" SECONDARY_ARCHITECTURES="?x86_gcc2 x86" PROVIDES=" pari$secondaryArchSuffix = $portVersion compat >= 2 cmd:gp cmd:gp_2.7 cmd:gphelp cmd:tex2mail lib:libpari_gmp$secondaryArchSuffix = $portVersion compat >= 2 " REQUIRES=" haiku$secondaryArchSuffix lib:libgmp$secondaryArchSuffix lib:libncurses$secondaryArchSuffix " PROVIDES_devel=" pari${secondaryArchSuffix}_devel = $portVersion compat >= 2 devel:libpari_gmp$secondaryArchSuffix = $portVersion compat >= 2 " REQUIRES_devel=" pari$secondaryArchSuffix == $portVersion base " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel devel:libgmp$secondaryArchSuffix devel:libncurses$secondaryArchSuffix " BUILD_PREREQUIRES=" cmd:gcc$secondaryArchSuffix cmd:ld$secondaryArchSuffix cmd:make cmd:sed " BUILD() { ./Configure --prefix=$prefix --bindir=$binDir --includedir=$includeDir \ --libdir=$libDir --mandir=$manDir --datadir=$dataDir \ --sysdatadir=$sysDataDir cd Ohaiku-* make $jobArgs all cd .. } INSTALL() { make install rm $libDir/libpari.so prepareInstalledDevelLib libpari-gmp fixPkgconfig packageEntries devel $developDir }