From f44bccc22c75b6d4e09f4970bbff944b81057914 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sun, 7 Jan 2018 09:38:57 +0700 Subject: development/valgrind: New maintainer. Signed-off-by: Willy Sudiarto Raharjo --- development/valgrind/valgrind.SlackBuild | 36 +++++++++++++++++++++++++------- development/valgrind/valgrind.info | 4 ++-- 2 files changed, 30 insertions(+), 10 deletions(-) (limited to 'development/valgrind') diff --git a/development/valgrind/valgrind.SlackBuild b/development/valgrind/valgrind.SlackBuild index e3cb289889..f2b165e820 100644 --- a/development/valgrind/valgrind.SlackBuild +++ b/development/valgrind/valgrind.SlackBuild @@ -3,7 +3,26 @@ # Slackware build script for valgrind # Written by Kyle Guinn # Updated by Peter Wang -# Updated by Willy Sudiarto Raharjo +# Maintained by Willy Sudiarto Raharjo + +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=valgrind VERSION=${VERSION:-3.13.0} @@ -39,12 +58,14 @@ else LIBDIRSUFFIX="" fi +set -e + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -cd $TMP || exit 1 +cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1 -cd $PRGNAM-$VERSION || exit 1 +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -61,11 +82,10 @@ CXXFLAGS="$SLKCFLAGS" \ --localstatedir=/var \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ - --build=$ARCH-slackware-linux \ - || exit 1 + --build=$ARCH-slackware-linux -make || exit 1 -make install DESTDIR=$PKG || exit 1 +make +make install DESTDIR=$PKG # Do NOT strip the shared objects, as recommended by the developers. find $PKG -print0 | xargs -0 file | grep -e "executable" | grep ELF \ diff --git a/development/valgrind/valgrind.info b/development/valgrind/valgrind.info index f2726c477f..599e3a0b32 100644 --- a/development/valgrind/valgrind.info +++ b/development/valgrind/valgrind.info @@ -6,5 +6,5 @@ MD5SUM="817dd08f1e8a66336b9ff206400a5369" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Peter Wang" -EMAIL="novalazy@gmail.com" +MAINTAINER="Willy Sudiarto Raharjo" +EMAIL="willysr@slackbuilds.org" -- cgit v1.2.3