easyblock = 'PackedBinary'

name = 'GroIMP'
version = '1.5'

homepage = 'http://www.grogra.de/software/groimp'
description = "GroIMP (Growth Grammar-related Interactive Modelling Platform) is a 3D-modelling platform."

toolchain = {'name': 'dummy', 'version': ''}

source_urls = [SOURCEFORGE_SOURCE]
sources = ['GroIMP-%(version)s-src.zip']

dependencies = [
    ('Java', '1.8.0_112'),
]

builddependencies = [('ant', '1.10.0', '-Java-%(javaver)s')]

install_cmd = 'cd %(name)s-%(version)s/Build && ant && cp -a ../app/* %(installdir)s/'

sanity_check_paths = {
    'files': ['core.jar'],
    'dirs': ['plugins'],
}

modloadmsg = "To use GroIMP: java -jar $EBROOTGROIMP/core.jar\n"

moduleclass = 'vis'
