2009-03-13 22:30:08 +01:00
|
|
|
# Template file for 'valgrind'
|
|
|
|
pkgname=valgrind
|
2013-11-02 08:58:13 +01:00
|
|
|
version=3.9.0
|
2014-02-08 09:13:06 +01:00
|
|
|
revision=2
|
2014-01-29 12:25:13 +01:00
|
|
|
only_for_archs="i686 x86_64 armv7l"
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2011-06-08 07:12:42 +02:00
|
|
|
configure_args="--enable-tls --with-mpicc=/dev/null"
|
2013-11-02 08:58:13 +01:00
|
|
|
hostmakedepends="perl pkg-config"
|
|
|
|
makedepends="libgomp-devel"
|
2014-02-08 09:13:06 +01:00
|
|
|
depends="perl glibc>=2.19<2.20 glibc-dbg>=2.19<2.20"
|
2009-03-13 22:30:08 +01:00
|
|
|
short_desc="Tool for finding memory management bugs in programs"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-06-08 07:12:42 +02:00
|
|
|
homepage="http://valgrind.org/"
|
|
|
|
license="GPL-2"
|
2012-12-27 10:33:14 +01:00
|
|
|
distfiles="http://www.valgrind.org/downloads/${pkgname}-${version}.tar.bz2"
|
2013-11-02 08:58:13 +01:00
|
|
|
checksum=e6af71a06bc2534541b07743e1d58dc3caf744f38205ca3e5b5a0bdf372ed6f0
|
2013-08-13 21:17:07 +02:00
|
|
|
|
2014-01-29 12:25:13 +01:00
|
|
|
if [ "$XBPS_TARGET_MACHINE" = "armv7l" ]; then
|
|
|
|
configure_args+=" ac_cv_host=armv7l-unknown-linux-gnueabihf"
|
|
|
|
fi
|
|
|
|
|
2013-04-14 16:51:01 +02:00
|
|
|
valgrind-devel_package() {
|
|
|
|
depends="valgrind>=${version}"
|
2013-08-13 21:17:07 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-14 16:51:01 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/valgrind/*.a"
|
|
|
|
vmove usr/share/doc
|
|
|
|
}
|
|
|
|
}
|