summaryrefslogtreecommitdiff
path: root/libraries/muParser/muParser.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/muParser/muParser.SlackBuild')
-rw-r--r--libraries/muParser/muParser.SlackBuild18
1 files changed, 10 insertions, 8 deletions
diff --git a/libraries/muParser/muParser.SlackBuild b/libraries/muParser/muParser.SlackBuild
index c1725f1abc..a4c795cfc6 100644
--- a/libraries/muParser/muParser.SlackBuild
+++ b/libraries/muParser/muParser.SlackBuild
@@ -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