# This file is an EasyBuild reciPY, as per https://github.com/easybuilders/easybuild
# Adam Huffman
# The Francis Crick Institute
easyblock = 'MakeCp'

name = 'VERSE'
version = '0.1.5'

homepage = 'https://github.com/qinzhu/VERSE'
description = """A versatile and efficient RNA-Seq read counting tool"""

toolchain = {'name': 'foss', 'version': '2016b'}

sources = [{
    'filename': '%(name)s-%(version)s.zip',
    'download_filename': 'master.zip',  # No proper release tarballs
}]

source_urls = ['https://github.com/qinzhu/VERSE/archive']

buildopts = ' -f Makefile.Linux'

start_dir = 'src'

files_to_copy = [(['%(namelower)s'], 'bin'), 'LICENSE', 'readme.txt', 'update_log.txt',
                 '%(namelower)s_manual.html', 'testdata']

sanity_check_paths = {
    'files': ['bin/%(namelower)s', 'readme.txt'],
    'dirs': ['testdata']
}

moduleclass = 'bio'
