summaryrefslogtreecommitdiffstats
path: root/libraries/ctemplate/ctemplate.SlackBuild
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo <willysr@slackbuilds.org>2015-03-22 18:06:06 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2015-04-03 20:50:13 +0700
commit3efefad7a86cd7c4fb75547277c5a37b53f28319 (patch)
tree64c29ca10d18ee2df7361338cd2f3e2ed8d0db68 /libraries/ctemplate/ctemplate.SlackBuild
parent72aaed5ad37ea8f2d1e4a5d8529c022912de25c4 (diff)
downloadslackbuilds-3efefad7a86cd7c4fb75547277c5a37b53f28319.tar.gz
slackbuilds-3efefad7a86cd7c4fb75547277c5a37b53f28319.tar.xz
libraries/ctemplate: Updated for version 2.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/ctemplate/ctemplate.SlackBuild')
-rw-r--r--libraries/ctemplate/ctemplate.SlackBuild16
1 files changed, 8 insertions, 8 deletions
diff --git a/libraries/ctemplate/ctemplate.SlackBuild b/libraries/ctemplate/ctemplate.SlackBuild
index 27cfeb6263..373d42d782 100644
--- a/libraries/ctemplate/ctemplate.SlackBuild
+++ b/libraries/ctemplate/ctemplate.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for ctemplate
-# Copyright (C) 2012 Willy Sudiarto Raharjo <willysr@slackware-id.org> Indonesia
+# Copyright (C) 2012-2015 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# 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=ctemplate
-VERSION=${VERSION:-2.2}
+VERSION=${VERSION:-2.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -59,15 +59,15 @@ 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-$PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$PRGNAM-$VERSION
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 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 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \