name = 'Pasha'
version = '1.0.5'

homepage = 'http://pasha.sourceforge.net/'
description = "PASHA is a parallel short read assembler for large genomes using de Bruijn graphs."


toolchain = {'name': 'ictce', 'version': '5.3.0'}
toolchainopts = {'pic': True, 'opt': True, 'optarch': True}

dependencies = [('tbb', '4.0.5.339', '', True)]

source_urls = ['http://downloads.sourceforge.net/pasha']
sources = [SOURCE_TAR_GZ]

patches = [
    'intelmpi.patch',
    # needed since this still relies on gnu specific includes from libstdc++ which changed in latest version of libstdc++
    # since 1.0.5 pasha tries to use 'backward/' instead of 'ext/' but this might fail on some systems.
    'old-libstdc++-hash_fun-map-set_pasha-1.0.5.patch',

]

# Pasha's makefile is not suited for parallel execution
parallel = 1

moduleclass = 'bio'