easyblock = 'MakeCp'

name = 'npstat'
version = '0.99'

homepage = 'https://code.google.com/archive/p/npstat/'
description = """npstat implements some population genetics tests and estimators that can be applied
 to pooled sequences from Next Generation Sequencing experiments."""

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

source_urls = ['https://storage.googleapis.com/google-code-archive-source/v2/code.google.com/npstat/']
sources = ['source-archive.zip']

patches = ['npstat-%(version)s_fix-hardcoding-Makefile.patch']

# commit 14, Oct 31st 2013
checksums = ['a1595b7c46312d0f51b8b68987289337']

dependencies = [
    ('GSL', '1.16'),
]

start_dir = 'trunk'

files_to_copy = [(['npstat'], 'bin')]

sanity_check_paths = {
    'files': ['bin/npstat'],
    'dirs': [],
}

moduleclass = 'bio'
