summaryrefslogtreecommitdiffstats
path: root/libraries/yaml-cpp0.3/yaml-cpp0.3.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/yaml-cpp0.3/yaml-cpp0.3.SlackBuild')
-rw-r--r--libraries/yaml-cpp0.3/yaml-cpp0.3.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/libraries/yaml-cpp0.3/yaml-cpp0.3.SlackBuild b/libraries/yaml-cpp0.3/yaml-cpp0.3.SlackBuild
index e3155a79ac..33f35baf0c 100644
--- a/libraries/yaml-cpp0.3/yaml-cpp0.3.SlackBuild
+++ b/libraries/yaml-cpp0.3/yaml-cpp0.3.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for yaml-cpp
-# Copyright 2014 Dimitris Zlatanidis Greece-Orestiada
+# Copyright 2014-2015 Dimitris Zlatanidis Orestiada, Orestiada
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
PRGNAM=yaml-cpp0.3
SRCNAM=yaml-cpp
VERSION=${VERSION:-0.3.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -60,9 +60,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM
-tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
-cd $SRCNAM
+rm -rf $SRCNAM-release-$VERSION
+tar xvf $CWD/$SRCNAM-release-$VERSION.tar.gz || tar xvf $CWD/release-$VERSION.tar.gz
+cd $SRCNAM-release-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \