vp-build/srcpkgs/valgrind/template

28 lines
817 B
Plaintext

# Template file for 'valgrind'
pkgname=valgrind
version=3.9.0
revision=1
only_for_archs="i686 x86_64"
build_style=gnu-configure
configure_args="--enable-tls --with-mpicc=/dev/null"
hostmakedepends="perl pkg-config"
makedepends="libgomp-devel"
depends="perl glibc>=2.18<2.19 glibc-dbg>=2.18<2.19"
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=e6af71a06bc2534541b07743e1d58dc3caf744f38205ca3e5b5a0bdf372ed6f0
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
}
}