summaryrefslogtreecommitdiff
path: root/development/valgrind/valgrind.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@gmail.com>2012-09-15 17:13:30 +0700
committerdsomero <xgizzmo@slackbuilds.org>2012-09-16 19:45:34 -0400
commit445456c0f4ff43d133a526036ea69829664a8c48 (patch)
treed44bf8ef9c8daca9608371f3f25fcb3084c9e7a6 /development/valgrind/valgrind.SlackBuild
parent175325edf45d62f8d1408ed7e2faee75d2448203 (diff)
downloadslackbuilds-445456c0f4ff43d133a526036ea69829664a8c48.tar.gz
development/valgrind: Updated for version 3.8.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'development/valgrind/valgrind.SlackBuild')
-rwxr-xr-x[-rw-r--r--]development/valgrind/valgrind.SlackBuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/development/valgrind/valgrind.SlackBuild b/development/valgrind/valgrind.SlackBuild
index 12447cc6f4..2c5a0b8336 100644..100755
--- a/development/valgrind/valgrind.SlackBuild
+++ b/development/valgrind/valgrind.SlackBuild
@@ -3,9 +3,10 @@
# Slackware build script for valgrind
# Written by Kyle Guinn <elyk03@gmail.com>
# Updated by Peter Wang <novalazy@gmail.com>
+# Updated by Willy Sudiarto Raharjo <willysr@slackware-id.org>
PRGNAM=valgrind
-VERSION=3.7.0
+VERSION=${VERSION:-3.8.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -45,7 +46,11 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1
cd $PRGNAM-$VERSION || exit 1
chown -R root:root .
-chmod -R u+w,go+r-w,a-s .
+find . \
+\( -perm 777 -o -perm 775 -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 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \