# IT4Innovations 2018

easyblock = 'ConfigureMake'

name = 'gnuplot'
version = '5.2.4'

homepage = 'http://gnuplot.sourceforge.net/'
description = """Portable interactive, function plotting utility"""

toolchain = {'name': 'GCC', 'version': '6.3.0-2.27'}

sources = [SOURCE_TAR_GZ]
source_urls = [('http://sourceforge.net/projects/gnuplot/files', 'download')]

dependencies = [
    ('cairo', '1.14.12', '', True),
    ('libjpeg-turbo', '1.5.3', '', True),
    ('libpng', '1.6.34', '', True),
    ('libgd', '2.2.5', '', True),
    ('Pango', '1.42.1'),
    ('libcerf', '1.5', '', True),
    ('Qt', '4.8.7', '', True),
    ('LibTIFF', '4.0.7', '', True),
]

configopts = '--with-qt=qt4 '

sanity_check_paths = {
    'files': ['bin/gnuplot'],
    'dirs': []
}

moduleclass = 'vis'
