libraries/muParser: Updated for version 2.2.4.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Petar Petrov 2015-06-20 00:45:14 +07:00 committed by Willy Sudiarto Raharjo
parent acc79d7d1a
commit 98d66994a3
2 changed files with 14 additions and 12 deletions

View file

@ -2,7 +2,7 @@
# Slackware build script for muParser
# Copyright 2011-2013 Petar Petrov, ppetrov@paju.oulu.fi
# Copyright 2011-2015 Petar Petrov, petar.petrov@student.oulu.fi
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,12 +23,12 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=muParser
VERSION=${VERSION:-2.2.3}
VERSION=${VERSION:-2.2.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
SRCNAM=$(echo $PRGNAM | tr A-Z a-z)
SRCVER=v2_2_3
SRCVER=v2_2_4
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@ -67,10 +67,12 @@ unzip $CWD/${SRCNAM}_$SRCVER.zip
cd ${SRCNAM}_$SRCVER
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
chmod +x configure
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@ -91,7 +93,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
docs/html/ Changes.txt Install.txt License.txt \
docs/* Changes.txt Install.txt License.txt \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View file

@ -1,10 +1,10 @@
PRGNAM="muParser"
VERSION="2.2.3"
VERSION="2.2.4"
HOMEPAGE="http://muparser.sourceforge.net/"
DOWNLOAD="http://sourceforge.net/projects/slackbuildsdirectlinks/files/muParser/muparser_v2_2_3.zip"
MD5SUM="9de40ec1dab5bd2787ee344fce5846ad"
DOWNLOAD="https://www.dropbox.com/s/pzncytguzrsfq6x/muparser_v2_2_4.zip"
MD5SUM="ab5d86af1c75e3946314e76e6018f78d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Petar Petrov"
EMAIL="ppetrov@paju.oulu.fi"
EMAIL="petar.petrov@student.oulu.fi"