From 0c8ce169273198824d174f4a40c797b00e8557f2 Mon Sep 17 00:00:00 2001 From: Kyle Guinn Date: Tue, 11 May 2010 19:44:23 +0200 Subject: [PATCH] development/valgrind: Updated for version 3.3.0 --- development/valgrind/README | 1 - development/valgrind/slack-desc | 10 +++++++++- development/valgrind/valgrind.SlackBuild | 12 +++++------- development/valgrind/valgrind.info | 8 ++++---- 4 files changed, 18 insertions(+), 13 deletions(-) diff --git a/development/valgrind/README b/development/valgrind/README index c81f693e0f..ba2e555091 100644 --- a/development/valgrind/README +++ b/development/valgrind/README @@ -8,4 +8,3 @@ The Valgrind distribution currently includes four tools: a memory error detector, a cache (time) profiler, a call-graph profiler, and a heap (space) profiler. It runs on the following platforms: X86/Linux, AMD64/Linux, PPC32/Linux, PPC64/Linux. - diff --git a/development/valgrind/slack-desc b/development/valgrind/slack-desc index aeeda702ae..e5f0ef6bcc 100644 --- a/development/valgrind/slack-desc +++ b/development/valgrind/slack-desc @@ -1,4 +1,12 @@ -valgrind: Valgrind +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +valgrind: Valgrind (award-winning suite of tools for debugging) valgrind: valgrind: Valgrind is an award-winning suite of tools for debugging and valgrind: profiling Linux programs. With the tools that come with Valgrind, diff --git a/development/valgrind/valgrind.SlackBuild b/development/valgrind/valgrind.SlackBuild index 14c06e3ece..1efd28b524 100644 --- a/development/valgrind/valgrind.SlackBuild +++ b/development/valgrind/valgrind.SlackBuild @@ -3,14 +3,13 @@ # Slackware build script for valgrind # Written by Kyle Guinn -# 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 diff --git a/development/valgrind/valgrind.info b/development/valgrind/valgrind.info index 1daced5ea4..f017ddfa4b 100644 --- a/development/valgrind/valgrind.info +++ b/development/valgrind/valgrind.info @@ -1,8 +1,8 @@ PRGNAM="valgrind" -VERSION="3.2.3" +VERSION="3.3.0" HOMEPAGE="http://www.valgrind.org/" -DOWNLOAD="http://www.valgrind.org/downloads/valgrind-3.2.3.tar.bz2" -MD5SUM="978847992b136c8d8cb5c6559a91df1c" +DOWNLOAD="http://www.valgrind.org/downloads/valgrind-3.3.0.tar.bz2" +MD5SUM="e5fc39755a714f36b7e5014c1c6d4748" MAINTAINER="Kyle Guinn" EMAIL="elyk03@gmail.com" -APPROVED="robw810" +APPROVED="rworkman"