easyblock = 'ConfigureMake'

name = 'gnuplot'
version = '5.2.3'

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

toolchain = SYSTEM

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

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

configopts = '--with-qt=qt4 '

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

moduleclass = 'vis'
