# This file is an EasyBuild reciPY as per https://github.com/easybuilders/easybuild
# Author: Pablo Escobar Lopez
# Swiss Institute of Bioinformatics
# Biozentrum - University of Basel

easyblock = 'MakeCp'

name = 'RAxML'
version = '8.1.1'
versionsuffix = '-mpi-sse3'

homepage = 'https://github.com/stamatak/standard-RAxML'
description = "RAxML search algorithm for maximum likelihood based inference of phylogenetic trees."

toolchain = {'name': 'goolf', 'version': '1.4.10'}

source_urls = ['https://github.com/stamatak/standard-RAxML/archive/']
sources = ['v%(version)s.zip']

buildopts = ' -f Makefile.SSE3.MPI.gcc'

files_to_copy = [(["raxmlHPC-MPI-SSE3"], "bin"), "usefulScripts", "README", "manual"]

sanity_check_paths = {
    'files': ["bin/raxmlHPC-MPI-SSE3"],
    'dirs': [],
}

moduleclass = 'bio'
