2009-03-13 21:30:08 +00:00
|
|
|
# Template file for 'valgrind'
|
|
|
|
pkgname=valgrind
|
2013-11-02 07:58:13 +00:00
|
|
|
version=3.9.0
|
|
|
|
revision=1
|
2013-03-12 16:13:39 +00:00
|
|
|
only_for_archs="i686 x86_64"
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2011-06-08 05:12:42 +00:00
|
|
|
configure_args="--enable-tls --with-mpicc=/dev/null"
|
2013-11-02 07:58:13 +00:00
|
|
|
hostmakedepends="perl pkg-config"
|
|
|
|
makedepends="libgomp-devel"
|
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"
|
2012-12-27 09:33:14 +00:00
|
|
|
distfiles="http://www.valgrind.org/downloads/${pkgname}-${version}.tar.bz2"
|
2013-11-02 07:58:13 +00:00
|
|
|
checksum=e6af71a06bc2534541b07743e1d58dc3caf744f38205ca3e5b5a0bdf372ed6f0
|
2013-08-13 19:17:07 +00:00
|
|
|
|
2013-04-14 14:51:01 +00:00
|
|
|
valgrind-devel_package() {
|
|
|
|
depends="valgrind>=${version}"
|
2013-08-13 19:17:07 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-14 14:51:01 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/valgrind/*.a"
|
|
|
|
vmove usr/share/doc
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
valgrind_package() {
|
2013-08-13 09:40:53 +00:00
|
|
|
depends="perl glibc>=2.18<2.19 glibc-dbg>=2.18<2.19"
|
2013-04-14 14:51:01 +00:00
|
|
|
pkg_install() {
|
2013-11-02 07:58:13 +00:00
|
|
|
vmove all
|
2013-04-14 14:51:01 +00:00
|
|
|
}
|
|
|
|
}
|