development/ipython-mathjax: Updated for version 2.4.0.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
This commit is contained in:
parent
6aa72f7b8f
commit
fe10bc0a31
|
@ -26,7 +26,7 @@
|
|||
|
||||
PRGNAM=ipython-mathjax
|
||||
SRCNAM=MathJax
|
||||
VERSION=${VERSION:-2.3}
|
||||
VERSION=${VERSION:-2.4.0}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -41,11 +41,7 @@ rm -rf $PKG
|
|||
mkdir -p $TMP $PKG $OUTPUT
|
||||
rm -rf $TMP/$SRCNAM-$VERSION
|
||||
cd $TMP
|
||||
if [ -e $CWD/v$VERSION.tar.gz ]; then
|
||||
tar xvf $CWD/v$VERSION.tar.gz
|
||||
else
|
||||
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
|
||||
fi
|
||||
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
|
||||
cd $SRCNAM-$VERSION
|
||||
chown -R root:root .
|
||||
|
||||
|
@ -57,7 +53,7 @@ sed -i "s/imageFont:\"TeX\"/imageFont: null/" config/default.js
|
|||
|
||||
# install the STIX fonts
|
||||
mkdir -p $PKG/usr/share/fonts/OTF
|
||||
cp fonts/HTML-CSS/STIX-Web/otf/* $PKG/usr/share/fonts/OTF
|
||||
cp fonts/HTML-CSS/TeX/otf/* $PKG/usr/share/fonts/OTF
|
||||
|
||||
# install the required MathJax files
|
||||
mkdir -p $PKG/$MATHJAX_DIR
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="ipython-mathjax"
|
||||
VERSION="2.3"
|
||||
VERSION="2.4.0"
|
||||
HOMEPAGE="http://www.mathjax.org/"
|
||||
DOWNLOAD="https://github.com/mathjax/MathJax/archive/v2.3.tar.gz"
|
||||
MD5SUM="91b1eff73bc9dccb99e4a431f8a2514d"
|
||||
DOWNLOAD="https://github.com/mathjax/MathJax/archive/2.4.0.tar.gz"
|
||||
MD5SUM="3c2e63a68f5d4c7e2ea7ec3a1c43986a"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="ipython"
|
||||
|
|
Loading…
Reference in New Issue