summaryrefslogtreecommitdiff
path: root/academic/maxima/maxima.SlackBuild
diff options
context:
space:
mode:
authorGlenn Becker <burningc@sdf.lonestar.org>2011-03-04 00:22:23 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2011-03-04 00:22:23 -0300
commitacbd34042f18cb120f15232994270733ec7b765d (patch)
tree5e736347ffc82423eb84409ac4c56551dc6223b4 /academic/maxima/maxima.SlackBuild
parent232dc2c9efe7ead9936a02c5707c78bfc1a1247b (diff)
downloadslackbuilds-acbd34042f18cb120f15232994270733ec7b765d.tar.gz
academic/maxima: Updated for version 5.23.2.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'academic/maxima/maxima.SlackBuild')
-rw-r--r--academic/maxima/maxima.SlackBuild19
1 files changed, 9 insertions, 10 deletions
diff --git a/academic/maxima/maxima.SlackBuild b/academic/maxima/maxima.SlackBuild
index fff9d8cb7e..38bb509c94 100644
--- a/academic/maxima/maxima.SlackBuild
+++ b/academic/maxima/maxima.SlackBuild
@@ -25,18 +25,17 @@
# Modified by Joćo Medeiros as needed to build maxima instead of octave
# Modified by the SlackBuilds.org project
# Modified by Ken Milmore 2009
+# Modified by Glenn Becker to update to version 5.23.2
PRGNAM=maxima
-VERSION=5.18.1
+VERSION=5.23.2
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -60,7 +59,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e # Exit on most errors
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -80,19 +79,19 @@ CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
+ --mandir=/usr/man \
+ --infodir=/usr/info \
--sysconfdir=/etc \
--localstatedir=/var
-make -j1
-make -j1 install DESTDIR=$PKG
+make
+make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
-)
+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
# NOTE: Do not compress the info pages; they are needed by Maxima's help facility.
rm -rf $PKG/usr/info/dir