2009-03-13 22:30:08 +01:00
|
|
|
# Template file for 'valgrind'
|
|
|
|
pkgname=valgrind
|
2009-09-28 21:28:30 +02:00
|
|
|
version=3.5.0
|
2010-04-25 16:41:06 +02:00
|
|
|
revision=1
|
2009-03-13 22:30:08 +01:00
|
|
|
distfiles="http://www.valgrind.org/downloads/$pkgname-$version.tar.bz2"
|
|
|
|
build_style=gnu_configure
|
2010-04-25 16:41:06 +02:00
|
|
|
configure_args="--enable-tls"
|
2009-03-13 22:30:08 +01:00
|
|
|
short_desc="Tool for finding memory management bugs in programs"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2009-09-28 21:28:30 +02:00
|
|
|
checksum=743a5132bbebc247169aefae6e17657677fdf0961aba1668dd4ee7028d27ba80
|
2009-03-13 22:30:08 +01:00
|
|
|
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."
|
|
|
|
|
2009-11-22 08:31:44 +01:00
|
|
|
subpackages="$pkgname-devel"
|
2010-01-13 17:46:17 +01:00
|
|
|
Add_dependency run glibc
|
2009-03-13 22:30:08 +01:00
|
|
|
Add_dependency full perl
|
2010-04-25 16:41:06 +02:00
|
|
|
Add_dependency build pkg-config
|
2010-01-13 17:46:17 +01:00
|
|
|
Add_dependency build automake
|
|
|
|
|
|
|
|
pre_configure()
|
|
|
|
{
|
|
|
|
cd ${wrksrc} && autoreconf -fi
|
|
|
|
}
|