easyblock = 'MakeCp'

name = 'fastahack'
version = '20110215'

homepage = 'https://github.com/ekg/fastahack'
description = """Utilities for indexing and sequence extraction from FASTA files"""

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

# no versioned source tarballs available, download from https://github.com/ekg/fastahack/archive/master.tar.gz
sources = [SOURCE_TAR_GZ]

patches = ['fastahack-%(version)s_Makefile-fix.patch']

buildopts = 'CXX="$CXX" CXXFLAGS="$CXXFLAGS"'

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

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

moduleclass = 'bio'
