easyblock = 'ConfigureMake'

name = 'libXfont'
version = '1.5.1'

homepage = "http://www.freedesktop.org/wiki/Software/xlibs"
description = """X font libary"""

toolchain = {'name': 'intel', 'version': '2017a'}

sources = [SOURCE_TAR_GZ]
source_urls = [XORG_LIB_SOURCE]

builddependencies = [
    ('fontsproto', '2.1.3'),
    ('xproto', '7.0.28', '', True),
    ('xtrans', '1.3.5', '', True),
    ('xorg-macros', '1.19.1', '', True),
    ('libfontenc', '1.1.3', '', True),
]
dependencies = [
    ('libX11', '1.6.5'),
    ('freetype', '2.8', '', True),
]

sanity_check_paths = {
    'files': ['lib/libXfont.so', 'lib/libXfont.a'],
    'dirs': ['include/X11/fonts'],
}

moduleclass = 'vis'