diff options
author | Jack Maddox <jack@auburn.edu> | 2011-12-21 05:07:41 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-12-22 00:03:03 -0600 |
commit | e456f6e84066388078c4afde9377f9a9042c36b0 (patch) | |
tree | 7d429999049e6daec673a350474c44ffaee41aa3 /academic/sage/sage.SlackBuild | |
parent | c3ffd298405bdaaa4199b0369e2435614cf0675c (diff) | |
download | slackbuilds-e456f6e84066388078c4afde9377f9a9042c36b0.tar.gz |
academic/sage: Updated for version 4.7.2.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'academic/sage/sage.SlackBuild')
-rw-r--r-- | academic/sage/sage.SlackBuild | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/academic/sage/sage.SlackBuild b/academic/sage/sage.SlackBuild index 88b6c77e8c..9061aec073 100644 --- a/academic/sage/sage.SlackBuild +++ b/academic/sage/sage.SlackBuild @@ -4,7 +4,7 @@ # Written by Jack Maddox <jack@auburn.edu> PRGNAM=sage -VERSION=${VERSION:-4.7.1} +VERSION=${VERSION:-4.7.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -26,7 +26,7 @@ SAGEROOT=${SAGEROOT:-/opt/sage} set -e rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT +mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar @@ -37,7 +37,7 @@ find . \ -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; - + mkdir -p $PKG/$SAGEROOT $PKG/usr/share/{applications,pixmaps} \ $PKG/usr/doc/$PRGNAM-$VERSION $PKG/etc/profile.d make @@ -45,7 +45,7 @@ make # test all examples in the documentation (over 93,000 line of input) [ "${TEST:-no}" = "yes" ] && make test -# build the pdf version of the documentation +# build the pdf version of the documentation # (Note: this requires a LaTeX installation) if [ "${PDFDOC:-no}" = "yes" ]; then ./sage -docbuild all pdf @@ -66,8 +66,8 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true # Sage installs specific versions of a number of software components which -# may be different from the system-wide versions of those components. For -# this reason, the man and info pages are not moved to /usr/man and +# may be different from the system-wide versions of those components. For +# this reason, the man and info pages are not moved to /usr/man and # /usr/info. To avoid possible conflicts, they are compressed in place. find $PKG/$SAGEROOT/local/man -type f -exec gzip -9 {} \; for i in $( find $PKG/$SAGEROOT/local/man -type l ) ; do @@ -84,8 +84,8 @@ sed "s%SAGEROOT%${SAGEROOT}%" $CWD/profile.d/sage.sh > $PKG/etc/profile.d/sage.s sed "s%SAGEROOT%${SAGEROOT}%" $CWD/profile.d/sage.csh > $PKG/etc/profile.d/sage.csh chmod 0755 $PKG/etc/profile.d/* -# install scripts to SAGEROOT/bin that allow the internal sage versions of: gap, -# gp, singular, maxima, M2, kash, mwrank, ipython, hg, and R to be run independently +# install scripts to SAGEROOT/bin that allow the internal sage versions of: gap, +# gp, singular, maxima, M2, kash, mwrank, ipython, hg, and R to be run independently # and add SAGEROOT/bin to the PATH if [ "${INSTALLSCRIPTS:-no}" = "yes" ]; then mkdir $PKG$SAGEROOT/bin @@ -108,6 +108,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc sed "s%SAGEROOT%${SAGEROOT}%" $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG -# Some ownership is not correct; this is an easy fix -chown -R root:root . /sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |