Add missing provide in cln and ginac and move ginac to sci-mathematics

This commit is contained in:
Markus Himmel
2015-12-15 15:38:32 +01:00
parent a6344d7b8d
commit f886333282
2 changed files with 2 additions and 0 deletions

View File

@@ -0,0 +1,70 @@
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="http://www.ginac.de/"
COPYRIGHT="1999-2015 Johannes Gutenberg University Mainz, Germany"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://www.ginac.de/ginac-$portVersion.tar.bz2"
CHECKSUM_SHA256="e8630e186d9846123c58de7e0edcfd11b68d3831a84ae7c039c0606397b01444"
ARCHITECTURES="x86 !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
ginac$secondaryArchSuffix = $portVersion
lib:libginac$secondaryArchSuffix = $portVersion
cmd:ginac_excompiler$secondaryArchSuffix = $portVersion
cmd:ginsh$secondaryArchSuffix = $portVersion
cmd:viewgar$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libcln$secondaryArchSuffix >= 1.3.4
lib:libreadline$secondaryArchSuffix
"
PROVIDES_devel="
ginac${secondaryArchSuffix}_devel = $portVersion
devel:libginac$secondaryArchSuffix = $portVersion
"
REQUIRES_devel="
ginac$secondaryArchSuffix == $portVersion
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libcln$secondaryArchSuffix >= 1.3.4
devel:libreadline$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:awk
cmd:diff
cmd:make
cmd:python >= 2.7
cmd:gcc$secondaryArchSuffix
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
rm $libDir/*.la
prepareInstalledDevelLib libginac
fixPkgconfig
packageEntries devel \
$developDir
}