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/muParser.SlackBuild | |
parent | b8d5e5893d8d9726086fe18a4ecf2d4b033d5e0c (diff) |
libraries/muParser: Updated for version 2.0.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/muParser/muParser.SlackBuild')
-rw-r--r-- | libraries/muParser/muParser.SlackBuild | 31 |
1 files changed, 22 insertions, 9 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} \ |