aboutsummaryrefslogtreecommitdiff
path: root/development/valgrind/valgrind.SlackBuild
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2010-05-11 19:44:23 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 19:44:23 +0200
commit0c8ce169273198824d174f4a40c797b00e8557f2 (patch)
tree77e994cfa2161a5beb3741f4a5c98935ea04b5e4 /development/valgrind/valgrind.SlackBuild
parentb42f734960c2f4315c6f9d65f06c529629c207e9 (diff)
development/valgrind: Updated for version 3.3.0
Diffstat (limited to 'development/valgrind/valgrind.SlackBuild')
-rw-r--r--development/valgrind/valgrind.SlackBuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/development/valgrind/valgrind.SlackBuild b/development/valgrind/valgrind.SlackBuild
index 14c06e3ecea25..1efd28b524021 100644
--- a/development/valgrind/valgrind.SlackBuild
+++ b/development/valgrind/valgrind.SlackBuild
@@ -3,14 +3,13 @@
# Slackware build script for valgrind
# Written by Kyle Guinn <elyk03@gmail.com>
-# Modified by the SlackBuilds.org project
-
PRGNAM=valgrind
-VERSION=3.2.3
+VERSION=3.3.0
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=`pwd`
+
+CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -25,9 +24,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP || exit 1
rm -rf $PRGNAM-$VERSION
-tar -xjvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1
+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 .
@@ -44,7 +42,7 @@ make install-strip DESTDIR=$PKG || exit 1
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
- for i in `find . -type l` ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+ for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION