diff options
Diffstat (limited to 'academic/maxima/maxima.SlackBuild')
-rw-r--r-- | academic/maxima/maxima.SlackBuild | 19 |
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 |