summaryrefslogtreecommitdiff
path: root/libraries/yaml-cpp/yaml-cpp.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/yaml-cpp/yaml-cpp.SlackBuild')
-rw-r--r--libraries/yaml-cpp/yaml-cpp.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/libraries/yaml-cpp/yaml-cpp.SlackBuild b/libraries/yaml-cpp/yaml-cpp.SlackBuild
index 1d6a97ee61..92b2b8dc7f 100644
--- a/libraries/yaml-cpp/yaml-cpp.SlackBuild
+++ b/libraries/yaml-cpp/yaml-cpp.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for yaml-cpp
-# Copyright 2014 Dimitris Zlatanidis Greece-Orestiada
+# Copyright 2014-2015 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=yaml-cpp
-VERSION=${VERSION:-0.5.1}
+VERSION=${VERSION:-0.5.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -59,9 +59,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-release-$VERSION
+tar xvf $CWD/$PRGNAM-release-$VERSION.tar.gz || tar xvf $CWD/release-$VERSION.tar.gz
+cd $PRGNAM-release-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \