easyblock = 'ConfigureMake'

name = 'Ray'
version = '2.3.1'

homepage = 'http://sourceforge.net/projects/denovoassembler/'
description = """Ray -- Parallel genome assemblies for parallel DNA sequencing."""

toolchain = {'name': 'intel', 'version': '2015a'}
toolchainopts = {'usempi': True}

sources = [SOURCE_TAR_BZ2]
source_urls = ['http://download.sourceforge.net/denovoassembler/']

dependencies = [
    ('zlib', '1.2.8'),
    ('bzip2', '1.0.6'),
]

skipsteps = ['configure']
buildopts = 'PREFIX=%(installdir)s MPI_IO=y CXXFLAGS="$CXXFLAGS" HAVE_LIBZ=y HAVE_LIBBZ2=y'

modextrapaths = {'PATH': ['']}

sanity_check_paths = {
    'files': ['Ray'],
    'dirs': [],
}

moduleclass = 'bio'
