easyblock = 'ConfigureMake'

name = "cairo"
version = '1.12.14'

homepage = 'http://cairographics.org'
description = """Cairo is a 2D graphics library with support for multiple output devices.
Currently supported output targets include the X Window System (via both Xlib and XCB), Quartz, Win32, image buffers,
PostScript, PDF, and SVG file output. Experimental backends include OpenGL, BeOS, OS/2, and DirectFB"""

toolchain = {'name': 'ictce', 'version': '3.2.2.u3'}

source_urls = ['http://cairographics.org/releases/']
sources = [SOURCE_TAR_XZ]

dependencies = [
    ('libpng', '1.5.14'),
    ('freetype', '2.4.11'),
    ('zlib', '1.2.7'),
    ('pixman', '0.28.2'),
    ('fontconfig', '2.10.91'),
    ('expat', '2.1.0'),
    ('bzip2', '1.0.6'),
]

moduleclass = 'vis'
