summaryrefslogtreecommitdiff
path: root/academic/sage/sage.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-08-12 00:47:48 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-08-12 00:47:48 +0700
commitba27590f8742ffcc37e3dccef641c30784491319 (patch)
treefbe50018e72269729d54f7f529efefbe96b51941 /academic/sage/sage.SlackBuild
parent590b6b20be6275e666f93d5cc86d554a30ece91a (diff)
downloadslackbuilds-ba27590f8742ffcc37e3dccef641c30784491319.tar.gz
academic/sage: Updated for version 6.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/sage/sage.SlackBuild')
-rw-r--r--academic/sage/sage.SlackBuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/academic/sage/sage.SlackBuild b/academic/sage/sage.SlackBuild
index bdbbd7bfda..64c53337d2 100644
--- a/academic/sage/sage.SlackBuild
+++ b/academic/sage/sage.SlackBuild
@@ -5,7 +5,7 @@
# Currently maintained by Willy Sudiarto Raharjo <willysr@slackbuilds.org>
PRGNAM=sage
-VERSION=${VERSION:-6.1}
+VERSION=${VERSION:-6.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -41,6 +41,10 @@ find -L . \
mkdir -p $PKG/$SAGEROOT $PKG/usr/share/{applications,pixmaps} \
$PKG/usr/doc/$PRGNAM-$VERSION $PKG/etc/profile.d
+
+# Added freeBSD patch to build as root, thanks to Heinz for pointing it
+patch -p0 < $CWD/pynac.patch
+
make
# test all examples in the documentation (over 93,000 line of input)
@@ -62,6 +66,7 @@ if [ "$OPTIONALSPKG" != "no" ]; then
fi
cp -av * $PKG/$SAGEROOT
+rm -rf $PKG/$SAGEROOT/{upstream,logs}
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true