#    With <3 for EasyBuild
#
#    EasyConfig for libcircle:
#    ----------------------------------------------------------------------------
#    Copyright: 2014 - Gregor Mendel Institute of Molecular Plant Biology GmBH
#    License: MIT
#    Authors: Petar <petar.forai@gmi.oeaw.ac.at> Forai
#    ----------------------------------------------------------------------------

easyblock = 'ConfigureMake'

name = 'libcircle'
version = '0.2.0-rc.1'

homepage = 'https://github.com/hpc/libcircle/'
description = """An API to provide an efficient distributed queue on a cluster. libcircle is an API for distributing 
embarrassingly parallel workloads using self-stabilization."""

toolchain = {'name': 'goolf', 'version': '1.4.10'}
toolchainopts = {'usempi': True, 'pic': True}

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

sanity_check_paths = {
    'files': ['include/libcircle.h', 'lib/libcircle.a', 'lib/libcircle.%s' % SHLIB_EXT],
    'dirs': ['lib/pkgconfig'],
}

moduleclass = 'lib'
