libraries/muParser: Updated for version 2.1.0.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Petar Petrov 2012-01-16 00:13:41 -06:00 committed by Robby Workman
parent 0f5948931f
commit c45d5d9ab6
2 changed files with 10 additions and 7 deletions

View file

@ -2,7 +2,7 @@
# Slackware build script for muParser # Slackware build script for muParser
# Copyright 2011 Petar Petrov, ppetrov@paju.oulu.fi # Copyright 2011-2012 Petar Petrov, ppetrov@paju.oulu.fi
# All rights reserved. # All rights reserved.
# #
# Redistribution and use of this script, with or without modification, is # Redistribution and use of this script, with or without modification, is
@ -23,12 +23,12 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=muParser PRGNAM=muParser
VERSION=${VERSION:-2.0.0} VERSION=${VERSION:-2.1.0}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
SRCNAM=$(echo $PRGNAM | tr A-Z a-z) SRCNAM=$(echo $PRGNAM | tr A-Z a-z)
SRCVER=v2_0_0 SRCVER=v2_1_0
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
@ -72,6 +72,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \; -exec chmod 644 {} \;
# Make this executable...
chmod +x configure
CFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \
./configure \ ./configure \
@ -91,7 +94,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \ cp -a \
docs/html/ Changes.txt Credits.txt Install.txt License.txt \ docs/html/ Changes.txt Install.txt License.txt \
$PKG/usr/doc/$PRGNAM-$VERSION $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View file

@ -1,8 +1,8 @@
PRGNAM="muParser" PRGNAM="muParser"
VERSION="2.0" VERSION="2.1.0"
HOMEPAGE="http://muparser.sourceforge.net/" HOMEPAGE="http://muparser.sourceforge.net/"
DOWNLOAD="http://downloads.sourceforge.net/muparser/muparser_v2_0_0.zip" DOWNLOAD="http://downloads.sourceforge.net/muparser/muparser_v2_1_0.zip"
MD5SUM="6c2398f7fb1244c1d799a7ea848ae8e6" MD5SUM="fb29b528717399a8e313d365107925c1"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
MAINTAINER="Petar Petrov" MAINTAINER="Petar Petrov"