easyblock = 'ConfigureMake'

name = 'glproto'
version = '1.4.17'

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

toolchain = {'name': 'foss', 'version': '2016a'}

sources = [SOURCE_TAR_GZ]
source_urls = [XORG_PROTO_SOURCE]

builddependencies = [('xorg-macros', '1.19.0')]

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

moduleclass = 'devel'
