name = 'libgdiplus'
version = '3.12'

easyblock = 'ConfigureMake'

homepage = 'https://github.com/mono/libgdiplus'
description = """An Open Source implementation of the GDI+ API."""

toolchain = {'name': 'GCC', 'version': '4.8.3'}

sources = ['%(version)s.tar.gz']
source_urls = ['https://github.com/mono/libgdiplus/archive/']

preconfigopts = "./autogen.sh && "

osdependencies = [('cairo-devel', 'libssl-dev')]

builddependencies = [('GLib', '2.40.0', '', ('gompi', '1.5.16'))]

sanity_check_paths = {
    'files': ['lib/libgdiplus.%s' % SHLIB_EXT],
    'dirs': [],
}

maxparallel = 4

moduleclass = 'lang'
