##
# This file is an EasyBuild reciPY as per https://github.com/easybuilders/easybuild
#
# Copyright:: Copyright 2012-2013 The Cyprus Institute
# Authors::   Andreas Panteli <a.panteli@cyi.ac.cy>, Thekla Loizou <t.loizou@cyi.ac.cy>
# License::   MIT/GPL
#
##
easyblock = 'MakeCp'

name = "GLIMMER"
version = "3.02b"

homepage = 'http://www.cbcb.umd.edu/software/glimmer/'
description = """Glimmer is a system for finding genes in microbial DNA, especially
the genomes of bacteria, archaea, and viruses."""

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

source_urls = ['http://www.cbcb.umd.edu/software/glimmer']
sources = ['%%(namelower)s%s.tar.gz' % ''.join(version.split('.'))]

buildopts = '-C ./src'

files_to_copy = ["bin", "docs", "glim302notes.pdf", "lib", "LICENSE", "sample-run", "scripts"]

sanity_check_paths = {
    'files': ["bin/glimmer3", "glim302notes.pdf", "LICENSE"],
    'dirs': ["docs", "lib", "sample-run", "scripts"]
}

moduleclass = 'bio'
