easyblock = 'ConfigureMake'

name = 'fontconfig'
version = '2.12.4'

homepage = 'http://www.freedesktop.org/software/fontconfig'

description = """
 Fontconfig is a library designed to provide system-wide font configuration,
 customization and application access.
"""

toolchain = {'name': 'GCCcore', 'version': '6.4.0'}
toolchainopts = {'pic': True}

source_urls = ['http://www.freedesktop.org/software/fontconfig/release/']
sources = [SOURCE_TAR_GZ]
checksums = ['fd5a6a663f4c4a00e196523902626654dd0c4a78686cbc6e472f338e50fdf806']

builddependencies = [
    ('binutils', '2.28'),
    ('gperf', '3.1'),
    ('pkg-config', '0.29.2'),
]

dependencies = [
    ('expat', '2.2.4'),
    ('freetype', '2.8'),
]

configopts = '--disable-docs '

moduleclass = 'vis'
