# Template file for 'valgrind'
pkgname=valgrind
version=3.6.0
distfiles="http://www.valgrind.org/downloads/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--enable-tls"
short_desc="Tool for finding memory management bugs in programs"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=bc0f0153b5a47b986f1d8efa2c488e0aea85a1cf2c4b11c52be127903080285f
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 run glibc	">=2.12<2.13"
Add_dependency full perl	">=0"
Add_dependency build pkg-config
Add_dependency build automake
