36 lines
898 B
Text
36 lines
898 B
Text
# Template file for 'valgrind'
|
|
pkgname=valgrind
|
|
version=3.8.1
|
|
revision=5
|
|
only_for_archs="i686 x86_64"
|
|
build_style=gnu-configure
|
|
configure_args="--enable-tls --with-mpicc=/dev/null"
|
|
hostmakedepends="perl pkg-config automake libtool"
|
|
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=473be00576bed311a662b277a2bfbe97d9cca4058e68619a0e420c9fc19958db
|
|
|
|
pre_configure() {
|
|
./autogen.sh
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|
|
|
|
valgrind_package() {
|
|
depends="perl glibc>=2.18<2.19 glibc-dbg>=2.18<2.19"
|
|
pkg_install() {
|
|
vmove usr
|
|
}
|
|
}
|