easyblock = 'Tarball'

name = 'OSPRay'
version = '0.9.1'

homepage = 'http://www.ospray.org'
description = """
 A Ray Tracing Based Rendering Engine for High-Fidelity Visualization"""
toolchain = SYSTEM

source_urls = [
    'https://github.com/ospray/OSPRay/releases/download/v%(version)s/']
sources = ['ospray-full-%(version)s.x86_64.linux.tar.gz']

dependencies = []

skipsteps = ['configure', 'build']

sanity_check_paths = {
    'files': ['lib/libospray.so'],
    'dirs': ['bin', 'lib'],
}

# add the top dir to PATH
modextrapaths = {
    'PATH': ''
}

moduleclass = 'vis'