##
# This file is an EasyBuild reciPY as per https://github.com/hpcugent/easybuild
#
# Copyright:: Copyright 2012-2013 The Cyprus Institute
# Authors::   Andreas Panteli <a.panteli@cyi.ac.cy>, George Tsouloupas <g.tsouloupas@cyi.ac.cy>
# License::   MIT/GPL
#
##

name = 'BamTools'
version = '2.4.0'

homepage = 'https://github.com/pezmaster31/bamtools'
description = """BamTools provides both a programmer's API and an end-user's toolkit for handling BAM files."""

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

sources = ['v%(version)s.tar.gz']
source_urls = ['https://github.com/pezmaster31/bamtools/archive']

builddependencies = [('CMake', '3.4.1')]

files_to_copy = ["bin", "lib", "include", "docs", "LICENSE", "README"]

sanity_check_paths = {
    'files': ["bin/bamtools", "include/shared/bamtools_global.h", "lib/libbamtools.a",
              "lib/libbamtools.so", "lib/libbamtools-utils.a", "lib/libjsoncpp.a"],
    'dirs': ["include/api", "docs"]
}

moduleclass = 'bio'
