diff options
Diffstat (limited to 'academic/maxima')
-rw-r--r-- | academic/maxima/README | 33 | ||||
-rw-r--r-- | academic/maxima/doinst.sh | 10 | ||||
-rw-r--r-- | academic/maxima/maxima.SlackBuild | 26 | ||||
-rw-r--r-- | academic/maxima/maxima.info | 10 | ||||
-rw-r--r-- | academic/maxima/slack-desc | 10 |
5 files changed, 66 insertions, 23 deletions
diff --git a/academic/maxima/README b/academic/maxima/README index 35a04af3fa..d084e4cb04 100644 --- a/academic/maxima/README +++ b/academic/maxima/README @@ -1,7 +1,26 @@ -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, polynomials, and sets, lists, vectors, matrices, and tensors. -Maxima yields high precision numeric results by using exact fractions, -arbitrary precision integers, and arbitrarily precision floating point -numbers. Maxima can plot functions and data in two and three dimensions. + +Maxima is a GPL computer algebra system based on DOE-MACSYMA. It +is comparable to commercial systems like Mathematica and Maple. It +emphasizes symbolic mathematical computation: algebra, trigonometry, +calculus, and much more. + +For example, Maxima solves x^2-r*x-s^2-r*s=0 giving the symbolic +results [x=r+s, x=-s]. + +Maxima can calculate with exact integers and fractions, native +floating-point and high-precision big floats. + +Maxima has user-friendly front-ends, an on-line manual, plotting +commands, and numerical libraries. Users can write programs in its +native programming language, and many have contributed useful packages +in a variety of areas over the decades. + +Maxima is GPL-licensed and largely written in Common Lisp. Executables +can be downloaded for Windows, Mac, Linux, and Android; source code +is also available. An active community maintains and extends the +system. Maxima is widely used. + +SBo Installation notes: +- The info files are not compressed. +- Two .lisp files install to /usr/info. +These are required for maxima's help facility. diff --git a/academic/maxima/doinst.sh b/academic/maxima/doinst.sh new file mode 100644 index 0000000000..7b028b1845 --- /dev/null +++ b/academic/maxima/doinst.sh @@ -0,0 +1,10 @@ + + +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q /usr/share/applications >/dev/null 2>&1 +fi + +if [ -x /usr/bin/update-mime-database ]; then + /usr/bin/update-mime-database /usr/share/mime >/dev/null 2>&1 +fi + diff --git a/academic/maxima/maxima.SlackBuild b/academic/maxima/maxima.SlackBuild index de32fcbf35..15ba5bebbe 100644 --- a/academic/maxima/maxima.SlackBuild +++ b/academic/maxima/maxima.SlackBuild @@ -1,7 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for maxima +# Copyright 2021-23 Judah Milgram <milgram@cgpp.com> # Copyright 2017 Dhaby Xiloj <slack.dhabyx@gmail.com> # All rights reserved. # Based on work of Robby and others slackers. @@ -30,11 +31,17 @@ # Modified by Ken Milmore 2009 # Modified by Glenn Becker to update to version 5.28.0 # Glenn Becker -> update to version 5.38.1 +# JM -> update version 5.39 -> 5.44 +# JM -> update to version 5.46 +# JM -> update to version 5.47 + +cd $(dirname $0) ; CWD=$(pwd) PRGNAM=maxima -VERSION=${VERSION:-5.39.0} +VERSION=${VERSION:-5.47.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -44,7 +51,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -99,15 +113,15 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r # NOTE: Do not compress the info pages; they are needed by Maxima's help facility. rm -rf $PKG/usr/info/dir -# gzip -9 $PKG/usr/info/*.info* mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING ChangeLog* INSTALL* NEWS README* \ +cp -a AUTHORS COPYING ChangeLog* NEWS README* \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/academic/maxima/maxima.info b/academic/maxima/maxima.info index 676c4f7b56..4bc595b8bc 100644 --- a/academic/maxima/maxima.info +++ b/academic/maxima/maxima.info @@ -1,10 +1,10 @@ PRGNAM="maxima" -VERSION="5.39.0" +VERSION="5.47.0" HOMEPAGE="http://maxima.sourceforge.net/" -DOWNLOAD="https://sourceforge.net/projects/maxima/files/Maxima-source/5.39.0-source/maxima-5.39.0.tar.gz" -MD5SUM="3bccafb512ff1054be700c61601088af" +DOWNLOAD="https://sourceforge.net/projects/maxima/files/Maxima-source/5.47.0-source/maxima-5.47.0.tar.gz" +MD5SUM="8ddf54f90fc36e8773fe47a5a9023106" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="DhabyX" -EMAIL="slack.dhabyx@gmail.com" +MAINTAINER="Judah Milgram" +EMAIL="milgram cgpp com" diff --git a/academic/maxima/slack-desc b/academic/maxima/slack-desc index 360e5737ae..0963a7bfea 100644 --- a/academic/maxima/slack-desc +++ b/academic/maxima/slack-desc @@ -8,11 +8,11 @@ |-----handy-ruler------------------------------------------------------| maxima: maxima (a computer algebra system) maxima: -maxima: Maxima is a system for the manipulation of symbolic and numerical -maxima: expressions, including differentiation, integration, Taylor series, -maxima: Laplace transforms, ordinary differential equations, systems of -maxima: linear equations, polynomials, and sets, lists, vectors, matrices, -maxima: and tensors. +maxima: Maxima is a GPL computer algebra system based on DOE-MACSYMA. +maxima: +maxima: It is comparable to commercial systems like Mathematica and Maple end +maxima: emphasizes symbolic mathematical computation in algebra, trigonometry, +maxima: calculus, and much more. maxima: maxima: Homepage: http://maxima.sourceforge.net/ maxima: |