mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
libraries/muParser: Updated for version 2.0.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
b8d5e5893d
commit
9ab6184fea
3 changed files with 29 additions and 16 deletions
|
@ -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} \
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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:
|
||||
muParser:
|
||||
muParser:
|
||||
muParser: Home: http://muparser.sourceforge.net/
|
||||
muParser:
|
||||
muParser:
|
||||
muParser:
|
||||
|
|
Loading…
Reference in a new issue