mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48: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:
@@ -7,12 +7,20 @@ 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"
|
||||
REVISION="2"
|
||||
SOURCE_URI="http://www.ginac.de/ginac-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="e8630e186d9846123c58de7e0edcfd11b68d3831a84ae7c039c0606397b01444"
|
||||
|
||||
ARCHITECTURES="x86 !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
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
|
||||
@@ -23,7 +31,7 @@ PROVIDES="
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libcln$secondaryArchSuffix >= 1.3.4
|
||||
lib:libcln$secondaryArchSuffix >= 6
|
||||
lib:libreadline$secondaryArchSuffix
|
||||
"
|
||||
|
||||
@@ -32,12 +40,12 @@ PROVIDES_devel="
|
||||
devel:libginac$secondaryArchSuffix = 5.0.1 compat >= 5
|
||||
"
|
||||
REQUIRES_devel="
|
||||
ginac$secondaryArchSuffix == $portVersion
|
||||
ginac$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libcln$secondaryArchSuffix >= 1.3.4
|
||||
devel:libcln$secondaryArchSuffix >= 6
|
||||
devel:libreadline$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
@@ -51,7 +59,7 @@ BUILD_PREREQUIRES="
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure
|
||||
runConfigure --omit-dirs binDir ./configure --bindir=$commandBinDir
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user