# Template file for 'valgrind'
pkgname=valgrind
version=3.8.1
revision=1
subpackages="$pkgname-devel"
build_style=gnu-configure
configure_args="--enable-tls --with-mpicc=/dev/null"
depends="glibc>=2.16<2.17"
makedepends="pkg-config"
fulldepends="perl>=0"
short_desc="Tool for finding memory management bugs in programs"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://valgrind.org/"
license="GPL-2"
distfiles="http://www.valgrind.org/downloads/$pkgname-$version.tar.bz2"
checksum=473be00576bed311a662b277a2bfbe97d9cca4058e68619a0e420c9fc19958db
long_desc="
 Valgrind is a tool to help you find memory-management problems in your
 programs. When a program is run under Valgrind's supervision, all
 reads and writes of memory are checked, and calls to
 malloc/new/free/delete are intercepted. As a result, Valgrind can
 detect a lot of problems that are otherwise very hard to find/diagnose."
