diff options
author | Petar Petrov <ppetrov@paju.oulu.fi> | 2011-12-10 21:53:20 -0600 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-12-18 00:07:44 -0200 |
commit | 9ab6184fea6081377cdd785b08481050057bde9a (patch) | |
tree | 03a2fff06e985f2ca3f7cadcccb48eb92322ff1e /libraries/muParser | |
parent | b8d5e5893d8d9726086fe18a4ecf2d4b033d5e0c (diff) |
libraries/muParser: Updated for version 2.0.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/muParser')
-rw-r--r-- | libraries/muParser/muParser.SlackBuild | 31 | ||||
-rw-r--r-- | libraries/muParser/muParser.info | 8 | ||||
-rw-r--r-- | libraries/muParser/slack-desc | 2 |
3 files changed, 27 insertions, 14 deletions
diff --git a/libraries/muParser/muParser.SlackBuild b/libraries/muParser/muParser.SlackBuild index c67bfc4bf892..ea554a8a9b42 100644 --- a/libraries/muParser/muParser.SlackBuild +++ b/libraries/muParser/muParser.SlackBuild @@ -1,20 +1,34 @@ #!/bin/sh # Slackware build script for muParser -# Written by Petar Petrov, <ppetrov@paju.oulu.fi> and -# hereby submitted to the public domain -# THIS SLACKBUILD IS DISTRIBUTETD IN THE HOPE OF BEING -# USEFUL BUT WITHOUT ANY WARRANTY. THE AUTHOR IS _NOT_ -# RESPONSIBLE FOR ANY DAMAGE OR DATA LOSS CAUSED BY IT. +# Copyright 2011 Petar Petrov, ppetrov@paju.oulu.fi +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=muParser -VERSION=${VERSION:-1.34} +VERSION=${VERSION:-2.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} SRCNAM=$(echo $PRGNAM | tr A-Z a-z) -SRCVER=v134 +SRCVER=v2_0_0 if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -49,7 +63,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf ${SRCNAM}_$SRCVER -tar xvf $CWD/${SRCNAM}_$SRCVER.tar.gz +unzip $CWD/${SRCNAM}_$SRCVER.zip cd ${SRCNAM}_$SRCVER chown -R root:root . find . \ @@ -60,7 +74,6 @@ find . \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ -LDFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ diff --git a/libraries/muParser/muParser.info b/libraries/muParser/muParser.info index 97de01dd27c8..38e11c144c64 100644 --- a/libraries/muParser/muParser.info +++ b/libraries/muParser/muParser.info @@ -1,10 +1,10 @@ PRGNAM="muParser" -VERSION="1.34" +VERSION="2.0" HOMEPAGE="http://muparser.sourceforge.net/" -DOWNLOAD="http://downloads.sourceforge.net/muparser/muparser_v134.tar.gz" -MD5SUM="0c4f4bf86aa2a5a737adc0e08cb77737" +DOWNLOAD="http://downloads.sourceforge.net/muparser/muparser_v2_0_0.zip" +MD5SUM="6c2398f7fb1244c1d799a7ea848ae8e6" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Petar Petrov" EMAIL="ppetrov@paju.oulu.fi" -APPROVED="Niels Horn" +APPROVED="rworkman" diff --git a/libraries/muParser/slack-desc b/libraries/muParser/slack-desc index 4faaa1cec259..e26581d02c01 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: muParser: muParser: -muParser: Home: http://muparser.sourceforge.net/ |