SUMMARY="A C++ library to combine symbolic manipulation with numeric computations" DESCRIPTION="GiNaC (which is a recursive acronym for GiNaC is Not a CAS) was \ specifically developed to replace the Maple CAS as an engine for xloops. It is \ a C++ library and attempts to bring the features of a typical CAS to the C++ \ language itself. By doing that, it enables symbolic manipulation to be used in \ existing numeric software written in C++." HOMEPAGE="https://www.ginac.de/" COPYRIGHT="1999-2015 Johannes Gutenberg University Mainz, Germany" LICENSE="GNU GPL v2" REVISION="2" SOURCE_URI="http://www.ginac.de/ginac-$portVersion.tar.bz2" CHECKSUM_SHA256="e8630e186d9846123c58de7e0edcfd11b68d3831a84ae7c039c0606397b01444" ARCHITECTURES="all !x86_gcc2" SECONDARY_ARCHITECTURES="!x86_gcc2 x86" if [ "$targetArchitecture" != x86_gcc2 ]; then commandSuffix=$secondaryArchSuffix commandBinDir=$binDir else commandSuffix= commandBinDir=$prefix/bin fi PROVIDES=" ginac$secondaryArchSuffix = $portVersion lib:libginac$secondaryArchSuffix = 5.0.1 compat >= 5 cmd:ginac_excompiler$secondaryArchSuffix = $portVersion cmd:ginsh$secondaryArchSuffix = $portVersion cmd:viewgar$secondaryArchSuffix = $portVersion " REQUIRES=" haiku$secondaryArchSuffix lib:libcln$secondaryArchSuffix >= 6 lib:libreadline$secondaryArchSuffix " PROVIDES_devel=" ginac${secondaryArchSuffix}_devel = $portVersion devel:libginac$secondaryArchSuffix = 5.0.1 compat >= 5 " REQUIRES_devel=" ginac$secondaryArchSuffix == $portVersion base " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel devel:libcln$secondaryArchSuffix >= 6 devel:libreadline$secondaryArchSuffix " BUILD_PREREQUIRES=" cmd:awk cmd:diff cmd:make cmd:python >= 2.7 cmd:gcc$secondaryArchSuffix cmd:pkg_config$secondaryArchSuffix " BUILD() { runConfigure --omit-dirs binDir ./configure --bindir=$commandBinDir make $jobArgs } INSTALL() { make install rm $libDir/*.la prepareInstalledDevelLib libginac fixPkgconfig packageEntries devel \ $developDir }