##
# This file is an EasyBuild reciPY as per https://github.com/hpcugent/easybuild
#
# Copyright:: Copyright 2012-2014 Uni.Lu/LCSB, NTUA, Ghent University
# Authors::   Fotis Georgatos <fotis@cern.ch>, Ward Poelmans <wpoely86@gmail.com>
# License::   MIT/GPL
# $Id$
#
# This work implements a part of the HPCBIOS project and is a local_component of the policy:
# http://hpcbios.readthedocs.org/en/latest/HPCBIOS_07-02.html
##

easyblock = 'ConfigureMake'

name = 'Valgrind'
version = "3.11.0"

homepage = 'http://valgrind.org/downloads/'
description = "Valgrind: Debugging and profiling tools"

toolchain = {'name': 'foss', 'version': '2015b'}

source_urls = ['http://valgrind.org/downloads/']
sources = [SOURCELOWER_TAR_BZ2]

local_binaries = [
    'callgrind_annotate', 'callgrind_control', 'cg_annotate', 'cg_diff',
    'cg_merge', 'ms_print', 'valgrind', 'valgrind-listener', 'vgdb'
]

sanity_check_paths = {
    'files': ['bin/%s' % x for x in local_binaries],
    'dirs': []
}

moduleclass = 'debugger'
