summaryrefslogtreecommitdiffstats
path: root/academic
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo <willysr@slackbuilds.org>2014-08-12 00:47:48 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2014-08-12 00:47:48 +0700
commitba27590f8742ffcc37e3dccef641c30784491319 (patch)
treefbe50018e72269729d54f7f529efefbe96b51941 /academic
parent590b6b20be6275e666f93d5cc86d554a30ece91a (diff)
downloadslackbuilds-ba27590f8742ffcc37e3dccef641c30784491319.tar.gz
slackbuilds-ba27590f8742ffcc37e3dccef641c30784491319.tar.xz
academic/sage: Updated for version 6.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic')
-rw-r--r--academic/sage/pynac.patch10
-rw-r--r--academic/sage/sage.SlackBuild7
-rw-r--r--academic/sage/sage.info6
3 files changed, 19 insertions, 4 deletions
diff --git a/academic/sage/pynac.patch b/academic/sage/pynac.patch
new file mode 100644
index 0000000000..c8a0cdc26b
--- /dev/null
+++ b/academic/sage/pynac.patch
@@ -0,0 +1,10 @@
+--- build/pkgs/pynac/spkg-install.orig 2014-08-11 20:52:14.220516400 +0700
++++ build/pkgs/pynac/spkg-install 2014-08-11 20:52:27.906551659 +0700
+@@ -31,6 +31,7 @@
+
+ build_pynac()
+ {
++ chmod -R g-w ${PYNACDIR}
+ cd ${PYNACDIR}
+ PKG_CONFIG_PATH=${SAGE_LOCAL}/lib/pkgconfig; export PKG_CONFIG_PATH
+ ./configure --disable-static --prefix=${SAGE_LOCAL} --libdir="$SAGE_LOCAL/lib"
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
diff --git a/academic/sage/sage.info b/academic/sage/sage.info
index a3841ae112..9df2e6daee 100644
--- a/academic/sage/sage.info
+++ b/academic/sage/sage.info
@@ -1,8 +1,8 @@
PRGNAM="sage"
-VERSION="6.1"
+VERSION="6.3"
HOMEPAGE="http://www.sagemath.org"
-DOWNLOAD="http://www.sagemath.org/src-old/sage-6.1.tar.gz"
-MD5SUM="75130374fcdb9395955db81f1ed28422"
+DOWNLOAD="http://boxen.math.washington.edu/home/sagemath/sage-mirror/src/sage-6.3.tar.gz"
+MD5SUM="668f080be70ffea8d67592ca00d161eb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""