# IT4Innovations
# LK 2021

easyblock = 'CMakeMake'

name = 'graphite2'
version = '1.3.14'

homepage = 'https://scripts.sil.org/cms/scripts/page.php?site_id=projects&item_id=graphite_home'
description = """Graphite is a "smart font" system developed specifically to
 handle the complexities of lesser-known languages of the world."""

toolchain = {'name': 'GCCcore', 'version': '10.2.0'}

source_urls = ['https://github.com/silnrsi/graphite/archive/']
sources = ['%(version)s.zip']
checksums = ['36e15981af3bf7a3ca3daf53295c8ffde04cf7d163e3474e4d0836e2728b4149']

builddependencies = [
    ('CMake', '3.18.4'),
    ('binutils', '2.35'),
]

sanity_check_paths = {
    'files': ['bin/gr2fonttest'] +
             ['lib/lib%%(name)s.%s' % x for x in [SHLIB_EXT, 'la']],
    'dirs': ['include/%(name)s', 'share']
}

moduleclass = 'lib'
