summaryrefslogtreecommitdiff
path: root/libraries/muParser
diff options
context:
space:
mode:
authorPetar Petrov <slackalaxy@gmail.com>2016-06-05 15:47:13 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-06-05 22:27:58 +0700
commit0c3b563820ba9afd965a6f5be2d6d7a30ef05bfa (patch)
treedb85aeaa44a7ffe5c6362917fe47ee8325b400c7 /libraries/muParser
parenta620253841a97bbc0bbd4672cdbaa666a3ab8337 (diff)
downloadslackbuilds-0c3b563820ba9afd965a6f5be2d6d7a30ef05bfa.tar.gz
libraries/muParser: Updated for version 2.2.5
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/muParser')
-rw-r--r--libraries/muParser/muParser.SlackBuild16
-rw-r--r--libraries/muParser/muParser.info8
-rw-r--r--libraries/muParser/slack-desc2
3 files changed, 16 insertions, 10 deletions
diff --git a/libraries/muParser/muParser.SlackBuild b/libraries/muParser/muParser.SlackBuild
index dddfaa5a10..6234bcf7ea 100644
--- a/libraries/muParser/muParser.SlackBuild
+++ b/libraries/muParser/muParser.SlackBuild
@@ -23,12 +23,12 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=muParser
-VERSION=${VERSION:-2.2.4}
+VERSION=${VERSION:-2.2.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
SRCNAM=$(echo $PRGNAM | tr A-Z a-z)
-SRCVER=v2_2_4
+SRCVER=v2.2.5
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -62,9 +62,15 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf ${SRCNAM}_$SRCVER
-unzip $CWD/${SRCNAM}_$SRCVER.zip
-cd ${SRCNAM}_$SRCVER
+rm -rf $SRCNAM-$SRCVER
+
+if [ -e $CWD/$SRCVER.tar.gz ]; then
+ tar xvf $CWD/$SRCVER.tar.gz
+else
+ tar xvf $CWD/$SRCNAM-$SRCVER.tar.gz
+fi
+
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
diff --git a/libraries/muParser/muParser.info b/libraries/muParser/muParser.info
index 2b26829298..2297a41485 100644
--- a/libraries/muParser/muParser.info
+++ b/libraries/muParser/muParser.info
@@ -1,8 +1,8 @@
PRGNAM="muParser"
-VERSION="2.2.4"
-HOMEPAGE="http://muparser.sourceforge.net/"
-DOWNLOAD="http://sourceforge.net/projects/sboppetrov/files/muparser/muparser_v2_2_4.zip"
-MD5SUM="ab5d86af1c75e3946314e76e6018f78d"
+VERSION="2.2.5"
+HOMEPAGE="http://beltoforion.de/article.php?a=muparser"
+DOWNLOAD="https://github.com/beltoforion/muparser/archive/v2.2.5.tar.gz"
+MD5SUM="02dae671aa5ad955fdcbcd3fee313fb7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/muParser/slack-desc b/libraries/muParser/slack-desc
index debd2766fd..121a8d0b83 100644
--- a/libraries/muParser/slack-desc
+++ b/libraries/muParser/slack-desc
@@ -13,7 +13,7 @@ muParser: library written in C++. It works by transforming a mathematical
muParser: expression into bytecode and precalculating constant parts of the
muParser: expression.
muParser:
-muParser: Home: http://muparser.sourceforge.net/
+muParser: Home: http://beltoforion.de/article.php?a=muparser
muParser:
muParser:
muParser: