easyblock = 'CMakeMake'

name = 'PLAST'
version = '2.3.1'
versionsuffix = '-Java-%(javaver)s'

homepage = "http://www.irisa.fr/symbiose/projects/plast/"
description = """PLAST is a parallel alignment search tool for comparing large protein banks"""

toolchain = {'name': 'foss', 'version': '2016a'}

source_urls = [
    'https://github.com/PLAST-software/plast-library/releases/download/v%(version)s/']
sources = ['%(namelower)s_source_v%(version)s.tar.gz']

builddependencies = [
    ('CMake', '3.5.2'),
    ('Perl', '5.22.1')
]

dependencies = [
    ('Java', '1.8.0_92', '', True),
]

sanity_check_paths = {
    'files': [],
    'dirs': ['include', 'include/algo', 'include/alignment', 'include/misc'],
}

moduleclass = 'bio'
