2009-03-13 21:30:08 +00:00
|
|
|
# Template file for 'valgrind'
|
|
|
|
pkgname=valgrind
|
2011-02-17 13:39:45 +00:00
|
|
|
version=3.6.1
|
2011-10-12 13:51:32 +00:00
|
|
|
revision=2
|
2011-06-08 05:12:42 +00:00
|
|
|
patch_args="-Np1"
|
2009-03-13 21:30:08 +00:00
|
|
|
distfiles="http://www.valgrind.org/downloads/$pkgname-$version.tar.bz2"
|
|
|
|
build_style=gnu_configure
|
2011-06-08 05:12:42 +00:00
|
|
|
configure_args="--enable-tls --with-mpicc=/dev/null"
|
2009-03-13 21:30:08 +00:00
|
|
|
short_desc="Tool for finding memory management bugs in programs"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-06-08 05:12:42 +00:00
|
|
|
homepage="http://valgrind.org/"
|
|
|
|
license="GPL-2"
|
2011-02-17 13:39:45 +00:00
|
|
|
checksum=49bdcc4fbcf060049b5f0dcfd8a187a6e90e0b0e57309f633b64e44430726a0e
|
2009-03-13 21:30:08 +00: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 07:31:44 +00:00
|
|
|
subpackages="$pkgname-devel"
|
2011-10-12 13:51:32 +00:00
|
|
|
Add_dependency run glibc ">=2.14<2.15"
|
2010-11-01 09:29:12 +00:00
|
|
|
Add_dependency full perl ">=0"
|
2010-04-25 14:41:06 +00:00
|
|
|
Add_dependency build pkg-config
|
2011-10-12 13:51:32 +00:00
|
|
|
|
|
|
|
pre_configure()
|
|
|
|
{
|
|
|
|
# 3.0 shouldn't be treated differently than 2.6 Linux kernels...
|
|
|
|
sed -i -e "s|2.6.\*)|3.0.\*)|" configure
|
|
|
|
}
|