31 lines
954 B
Text
31 lines
954 B
Text
# Template file for 'valgrind'
|
|
pkgname=valgrind
|
|
version=3.10.0
|
|
revision=1
|
|
only_for_archs="i686 x86_64 armv7l"
|
|
build_style=gnu-configure
|
|
configure_args="--enable-tls --with-mpicc=/dev/null"
|
|
hostmakedepends="perl pkg-config"
|
|
makedepends="libgomp-devel"
|
|
depends="perl virtual?glibc>=2.20<2.21 virtual?glibc-dbg>=2.20<2.21"
|
|
short_desc="Tool for finding memory management bugs in programs"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
homepage="http://valgrind.org/"
|
|
license="GPL-2"
|
|
distfiles="http://www.valgrind.org/downloads/${pkgname}-${version}.tar.bz2"
|
|
checksum=03047f82dfc6985a4c7d9d2700e17bc05f5e1a0ca6ad902e5d6c81aeb720edc9
|
|
|
|
if [ "$XBPS_TARGET_MACHINE" = "armv7l" ]; then
|
|
configure_args+=" ac_cv_host=armv7l-unknown-linux-gnueabihf"
|
|
fi
|
|
|
|
valgrind-devel_package() {
|
|
depends="valgrind>=${version}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/valgrind/*.a"
|
|
vmove usr/share/doc
|
|
}
|
|
}
|