maxima, new recipe (#9976)

This commit is contained in:
Schrijvers Luc
2024-01-11 15:10:16 +01:00
committed by GitHub
parent 6903d910e8
commit 88ab2a510a

View File

@@ -0,0 +1,76 @@
SUMMARY="Free computer algebra environment based on Macsyma"
DESCRIPTION="Computer Algebra system, descendent of Macsyma. Maxima is a system for the \
manipulation of symbolic and numerical expressions, including differentiation, integration, \
Taylor series, Laplace transforms, ordinary differential equations, systems of linear \
equations, and vectors, matrices, and tensors. Maxima produces high precision results by \
using exact fractions and arbitrarily long floating point representations, and can plot \
functions and data in two and three dimensions."
HOMEPAGE="http://maxima.sourceforge.net/"
COPYRIGHT="1984 Taiichi Yuasa and Masami Hagiya
1993 Giuseppe Attardi
2013 Juan J. Garcia-Ripoll
2018 Daniel Kochmanski
2021 Daniel Kochmanski and Marius Gerbershagen"
LICENSE="GNU GPL v2
GNU LGPL v2.1"
REVISION="1"
SOURCE_URI="https://sourceforge.net/projects/maxima/files/Maxima-source/5.47.0-source/maxima-$portVersion.tar.gz"
CHECKSUM_SHA256="9104021b24fd53e8c03a983509cb42e937a925e8c0c85c335d7709a14fd40f7a"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="?x86"
commandBinDir=$binDir
commandSuffix=$secondaryArchSuffix
if [ "$targetArchitecture" = x86_gcc2 ]; then
commandSuffix=
commandBinDir=$prefix/bin
fi
PROVIDES="
maxima$secondaryArchSuffix = $portVersion
cmd:maxima$commandSuffix = $portVersion
cmd:rmaxima$commandSuffix = $portVersion
cmd:xmaxima$commandSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libecl$secondaryArchSuffix
devel:libatomic_ops$secondaryArchSuffix
devel:libffi$secondaryArchSuffix
devel:libgc$secondaryArchSuffix
devel:libgmp$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoreconf
cmd:awk
cmd:make
cmd:makeinfo
cmd:find
cmd:gcc$secondaryArchSuffix
cmd:sbcl$secondaryArchSuffix
"
BUILD()
{
autoreconf -fi
runConfigure --omit-dirs binDir ./configure \
--bindir=$commandBinDir \
--disable-build-docs
make $jobArgs
}
INSTALL()
{
make install
}
TEST()
{
make check
}