# IT4Innovations 2019

easyblock = 'CMakeMake'

name = "VirtualGL"
version = '2.6.1'

homepage = 'http://www.virtualgl.org'
description = """VirtualGL is an open source toolkit that gives any Unix or Linux remote display software the
ability to run OpenGL applications with full 3D hardware acceleration."""

# empty version to ensure that dependencies are loaded
toolchain = SYSTEM

sources = ['%(version)s.tar.gz']
source_urls = ['https://github.com/VirtualGL/virtualgl/archive']

dependencies = [
        ('Mesa', '18.3.1'),
        ('libjpeg-turbo', '1.5.3'),
        ('libGLU', '9.0.0'),
]

builddependencies = [
        ('CMake', '3.8.1'),
]

#skipsteps = ['source', 'patch', 'prepare', 'configure', 'build', 'test']

sanity_check_paths = {
    'files': ['bin/vglrun'],
    'dirs': ['']
}

moduleclass = 'tools'