2009-03-13 21:30:08 +00:00
|
|
|
# Template file for 'valgrind'
|
|
|
|
pkgname=valgrind
|
2014-11-26 09:05:38 +00:00
|
|
|
version=3.10.1
|
2014-09-11 16:29:40 +00:00
|
|
|
revision=1
|
2014-01-29 11:25:13 +00:00
|
|
|
only_for_archs="i686 x86_64 armv7l"
|
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"
|
2014-09-08 16:49:05 +00:00
|
|
|
depends="perl virtual?glibc>=2.20<2.21 virtual?glibc-dbg>=2.20<2.21"
|
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"
|
2014-11-26 09:05:38 +00:00
|
|
|
checksum=fa253dc26ddb661b6269df58144eff607ea3f76a9bcfe574b0c7726e1dfcb997
|
2013-08-13 19:17:07 +00:00
|
|
|
|
2014-01-29 11:25:13 +00:00
|
|
|
if [ "$XBPS_TARGET_MACHINE" = "armv7l" ]; then
|
|
|
|
configure_args+=" ac_cv_host=armv7l-unknown-linux-gnueabihf"
|
|
|
|
fi
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|