easyblock = 'ConfigureMake'

name = 'libXxf86vm'
version = '1.1.4'

homepage = "http://www.freedesktop.org/wiki/Software/xlibs"
description = """X11 XFree86 video mode extension library"""

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

sources = [SOURCE_TAR_GZ]
source_urls = ['http://xorg.freedesktop.org/archive/individual/lib/']

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

dependencies = [
    ('libX11', '1.6.3'),
]

sanity_check_paths = {
    'files': ['include/X11/extensions/xf86vmode.h']+
             ['lib/libXxf86vm.%s' % x for x in ['a', SHLIB_EXT]],
    'dirs': [],
}

moduleclass = 'vis'
