##
# This file is an EasyBuild reciPY as per https://github.com/hpcugent/easybuild
#
# Copyright:: Copyright 2012-2015 NTUA
# Authors::   Fotis Georgatos <fotis@cern.ch>
# License::   MIT/GPL
# $Id$
##

easyblock = 'MakeCp'

name = 'SCALCE'
version = '2.7'

homepage = 'http://scalce.sourceforge.net/Home'
description = """SCALCE [skeɪlz] is a FASTQ compression tool that uses locally consistet parsing
 to obtain better compression rate. SCALCE has been specifically designed for Illumina reads but it can
 handle other technologies (that generate base pair reads) if the read length is the same throughout the file."""

toolchain = {'name': 'GCC', 'version': '4.8.2'}

sources = ['%(namelower)s-v%(version)s-src.tar.gz']
source_urls = [SOURCEFORGE_SOURCE]

dependencies = [('bzip2', '1.0.6')]

preconfigopts = 'cd zlib-1.2.8 &&'
buildopts = '-C zlib-1.2.8 && make all'

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

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

moduleclass = 'bio'
