#Packager: George Vlahavas # # Install openmpi first if you want support for it pkgname=valgrind pkgver=3.11.0 pkgrel=1gv source=("http://valgrind.org/downloads/valgrind-$pkgver.tar.bz2" "fix_rlimit.patch") docs=("readme*" "install" "copying*" "changelog" "authors" "news*" "todo" "faq.txt") url=http://valgrind.org/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "valgrind (award-winning suite of debugging tools)" "Valgrind is an award-winning suite of tools for debugging and" "profiling Linux programs. With the tools that come with Valgrind, you" "can automatically detect many memory management and threading bugs," "avoiding hours of frustrating bug-hunting, making your programs more" "stable. You can also perform detailed profiling, to speed up and" "reduce memory use of your programs." ) build() { cd $startdir/src/$pkgname-$pkgver patch -p0 < $startdir/src/fix_rlimit.patch || exit 1 ./configure --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --with-mpicc=mpicc \ --build=$arch-slackware-linux make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg }