easyblock = 'MakeCp'

name = 'PHYLIP'
version = '3.696'

homepage = 'http://evolution.genetics.washington.edu/phylip'
description = "PHYLIP is a free package of programs for inferring phylogenies."

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

source_urls = ['http://evolution.gs.washington.edu/phylip/download/']
sources = [SOURCELOWER_TAR_GZ]

buildopts = '-Csrc -fMakefile.unx all && make -Csrc -fMakefile.unx install'

files_to_copy = [(['exe/*'], 'bin'), (['src/libdrawgram.so', 'src/libdrawtree.so'], 'lib')]

sanity_check_paths = {
     'files': ['lib/libdrawgram.so', 'lib/libdrawtree.so'],
     'dirs': ['bin'],
}

moduleclass = 'bio'
