mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
academic/cadabra2: Updated for version 2.3.0.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
21a1c424d8
commit
bf01aba0c1
3 changed files with 12 additions and 8 deletions
|
@ -28,5 +28,6 @@ command-line and a graphical interface are available.
|
|||
|
||||
* Programmable using Python.
|
||||
|
||||
Mathematica (not on SBo) is an optional dependency, it will be
|
||||
autodetected at build time.
|
||||
If this SlackBuild run on a system which has Mathematica (not on SBo)
|
||||
installed, the support of Mathematica can be enabled by setting the
|
||||
environment variable MMA=ON (default: MMA=OFF).
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for cadabra2
|
||||
|
||||
# Copyright 2017-2019, Alexander Verbovetsky, Moscow, Russia
|
||||
# Copyright 2017-2020, Alexander Verbovetsky, Moscow, Russia
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -23,9 +23,10 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=cadabra2
|
||||
VERSION=${VERSION:-2.2.8}
|
||||
VERSION=${VERSION:-2.3.0}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
MMA=${MMA:-OFF}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
|
@ -95,6 +96,7 @@ cd build
|
|||
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
|
||||
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DENABLE_MATHEMATICA=${MMA^^} \
|
||||
-DCMAKE_BUILD_TYPE=Release ..
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
|
@ -108,7 +110,8 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
|
|||
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a doc examples README.rst $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a contrib doc examples paper CONTRIBUTING.md JUPYTER.rst README.rst \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="cadabra2"
|
||||
VERSION="2.2.8"
|
||||
VERSION="2.3.0"
|
||||
HOMEPAGE="https://cadabra.science"
|
||||
DOWNLOAD="https://downloads.sourceforge.net/slackbuildsdirectlinks/cadabra2/cadabra2-2.2.8.tar.gz"
|
||||
MD5SUM="a4c91eca89e75a079038e9dae3c5d00e"
|
||||
DOWNLOAD="https://downloads.sourceforge.net/slackbuildsdirectlinks/cadabra2/cadabra2-2.3.0.tar.gz"
|
||||
MD5SUM="09762b9ececc86c5f6c52a9e9ab2292b"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="python3-matplotlib python3-gmpy2 python3-sympy"
|
||||
|
|
Loading…
Reference in a new issue