diff options
Diffstat (limited to 'libraries/muParser')
-rw-r--r-- | libraries/muParser/muParser.SlackBuild | 16 | ||||
-rw-r--r-- | libraries/muParser/muParser.info | 8 | ||||
-rw-r--r-- | libraries/muParser/slack-desc | 2 |
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: |