##
# This file is an EasyBuild reciPY as per https://github.com/hpcugent/easybuild
#
# Copyright:: Copyright 2012-2014 Uni.Lu/LCSB, NTUA
# Authors::   Cedric Laczny <cedric.laczny@uni.lu>, Fotis Georgatos <fotis@cern.ch>
# License::   MIT/GPL
# $Id$
#
# This work implements a part of the HPCBIOS project and is a component of the policy:
# http://hpcbios.readthedocs.org/en/latest/HPCBIOS_2012-94.html
##

easyblock = 'ConfigureMake'

name = 'Infernal'
version = '1.1rc1'

homepage = 'http://infernal.janelia.org/'
description = """Infernal ('INFERence of RNA ALignment') is for searching DNA sequence databases
 for RNA structure and sequence similarities."""

toolchain = {'name': 'ictce', 'version': '5.3.0'}
toolchainopts = {'optarch': True, 'pic': True}

sources = [SOURCELOWER_TAR_GZ]
source_urls = ['ftp://selab.janelia.org/pub/software/%s' % name.lower()]

sanity_check_paths = {
    'files': [
        'bin/cm%s' %
        x for x in [
            'align',
            'build',
            'calibrate',
            'convert',
            'emit',
            'fetch',
            'press',
            'scan',
            'search',
            'stat']],
    'dirs': []}

moduleclass = 'bio'
