# IT4Innovations 2022
# JK

easyblock = 'ConfigureMake'

name = 'grace'
version = '5.1.25'

homepage = 'https://plasma-gate.weizmann.ac.il/Grace/'
description = """Grace is a WYSIWYG 2D plotting tool for X Windows System and Motif."""

source_urls = ['https://plasma-gate.weizmann.ac.il/pub/grace/src/stable/']
sources = [SOURCE_TAR_GZ]

toolchain = {'name': 'gompi', 'version': '2022a'}

dependencies = [
    ('motif', '2.3.8'),
    ('netCDF', '4.9.0'),
]

runtest = 'tests'

# we also need to run make links right before or after make install.
installopts = 'links'

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

moduleclass = 'vis'