mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
Add missing provide in cln and ginac and move ginac to sci-mathematics
This commit is contained in:
70
sci-mathematics/ginac/ginac-1.6.5.recipe
Normal file
70
sci-mathematics/ginac/ginac-1.6.5.recipe
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user