mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
ginac & cln: fix cln 1.3.4, update ginac 1.6.5, add ginac 1.6.7. (#559)
sci-libs/cln: * REQUIRES_devel was set to libcln$secondaryArchSuffix instead of cln$secondaryArchSuffix, therefore preventing both the installation of cln_devel and its use in chrooted builds of ginac. * Drop the recipe for version 1.3.2 (which was really old.) * Change cmd:gcc to cmd:g++ in BUILD_PREREQUIRES. * On x86_gcc2 using x86 as secondary arch, install pi in bin/ instead of bin/x86/. * Do not use $portVersion as version of lib:libcln. Instead, use the libs' real version. This change is safe since the only package wich needs libcln is ginac and it is being updated in this very commit. sci-mathematics/ginac: * Fix versioned dependency on libcln for ginac-1.6.5. * On x86_gcc2 using x86 2nd arch, do not install runtimes in bin/x86/ but in bin/. * Add ginac-1.6.7.
This commit is contained in:
78
sci-mathematics/ginac/ginac-1.6.7.recipe
Normal file
78
sci-mathematics/ginac/ginac-1.6.7.recipe
Normal file
@@ -0,0 +1,78 @@
|
||||
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-2016 Johannes Gutenberg University Mainz, Germany"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://www.ginac.de/ginac-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="cea5971b552372017ea654c025adb44d5f1b3e3ce0a739da2fe95189572b85db"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
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.3 compat >= 5
|
||||
cmd:ginac_excompiler$commandSuffix = $portVersion
|
||||
cmd:ginsh$commandSuffix = $portVersion
|
||||
cmd:viewgar$commandSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libcln$secondaryArchSuffix >= 6
|
||||
lib:libreadline$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
ginac${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libginac$secondaryArchSuffix = 5.0.3 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
|
||||
}
|
||||
Reference in New Issue
Block a user