easyblock = 'ConfigureMake'

name = 'libXfont'
version = '1.5.1'
versionsuffix = '-Python-2.7.9'

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

toolchain = {'name': 'foss', 'version': '2015g'}

sources = [SOURCE_TAR_GZ]
source_urls = [XORG_LIB_SOURCE]

builddependencies = [
    ('fontsproto', '2.1.3'),
    ('xproto', '7.0.26'),
    ('xtrans', '1.3.5'),
    ('xorg-macros', '1.17'),
    ('libfontenc', '1.1.3'),
]
dependencies = [
    ('libX11', '1.6.2', versionsuffix),
    ('freetype', '2.5.3'),
]

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

moduleclass = 'vis'
