##
# This file is an EasyBuild reciPY as per https://github.com/hpcugent/easybuild
#
# Copyright:: Copyright 2012-2014 Uni.Lu/LCSB, NTUA
# Authors::   Fotis Georgatos <fotis@cern.ch>
# License::   MIT/GPL
# $Id$
##

easyblock = "Tarball"

name = "Tesla-Deployment-Kit"
version = "5.319.43"

homepage = 'https://developer.nvidia.com/tesla-deployment-kit'
description = """The Tesla Deployment Kit is a set of tools provided primarily for the NVIDIA Tesla
 range of GPUs. They aim to empower users to better manage their NVIDIA GPUs by providing a broad
 range of functionalities. The kit contains:
 * NVIDIA Management Library (NVML),
 * Tesla Deployment Kit - Linux Edition (Aug 1st, 2013)"""

toolchain = {'version': 'dummy', 'name': 'dummy'}

sources = ['tdk_%(version)s.tar.gz']
source_urls = ['http://developer.download.nvidia.com/compute/cuda/5_5/rel/nvml']

sanity_check_paths = {
    'files': ["nvidia-healthmon/nvidia-healthmon", "nvidia-healthmon/nvidia-healthmon_x86"],
    'dirs': ["nvml/lib", "nvml/lib64"]
}

modextrapaths = {
    'PATH': ['nvidia-healthmon'],
    'CPATH': ['nvml/include'],
    'MANPATH': ['nvml/doc/man'],
    'LD_LIBRARY_PATH': ['nvml/lib', 'nvml/lib64'],
}

moduleclass = 'system'
