easyblock = 'ConfigureMake'

name = 'fontconfig'
version = '2.12.1'

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 = ['a9f42d03949f948a3a4f762287dbc16e53a927c91a07ee64207ebd90a9e5e292']

builddependencies = [
    ('binutils', '2.28'),
]

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

configopts = '--disable-docs '

moduleclass = 'vis'
