easyblock = 'ConfigureMake'

name = 'glproto'
version = '1.4.17'

homepage = "http://www.freedesktop.org/wiki/Software/xlibs"
description = "X protocol and ancillary headers"

toolchain = {'name': 'intel', 'version': '2016a'}
toolchainopts = {'optarch': True}

sources = [SOURCE_TAR_GZ]
source_urls = [XORG_PROTO_SOURCE]

sanity_check_paths = {
    'files': [
        'include/GL/%s.h' %
        x for x in [
            'glxint',
            'glxmd',
            'glxproto',
            'glxtokens',
            'internal/glcore']],
    'dirs': [],
}

moduleclass = 'devel'
