# Template file for 'valgrind'
pkgname=valgrind
version=3.7.0
distfiles="http://www.valgrind.org/downloads/$pkgname-$version.tar.bz2"
build_style=gnu-configure
configure_args="--enable-tls --with-mpicc=/dev/null"
short_desc="Tool for finding memory management bugs in programs"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://valgrind.org/"
license="GPL-2"
checksum=5d62c0330f1481fe2c593249192fa68ff454c19c34343978cc9ce91aa324cbf6
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."

subpackages="$pkgname-devel"
Add_dependency full perl	">=0"
Add_dependency build pkg-config
