summaryrefslogtreecommitdiffstats
path: root/libraries/yaml-cpp/yaml-cpp.SlackBuild
diff options
context:
space:
mode:
author Dimitris Zlatanidis <d.zlatanidis@gmail.com>2015-05-16 14:48:40 +0300
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2015-05-17 23:45:38 +0700
commit384068c9acfcf01498b36c0932afbfcc034fe3fc (patch)
treeee1beaf33be74910b0b3d1f37167e34639935c24 /libraries/yaml-cpp/yaml-cpp.SlackBuild
parent27e5b767a539b4fba5e164d6628dcc2f20f5e83d (diff)
downloadslackbuilds-384068c9acfcf01498b36c0932afbfcc034fe3fc.tar.gz
slackbuilds-384068c9acfcf01498b36c0932afbfcc034fe3fc.tar.xz
libraries/yaml-cpp: Updated for version 0.5.2.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
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 \