# IT4Innovations 2018

easyblock = 'ConfigureMake'

name = 'Singularity'
version = '2.4.4'

homepage = 'http://singularity.lbl.gov/'
description = """Singularity is a container platform focused on supporting \"Mobility of Compute\""""

toolchain = {'name': 'system', 'version': ''}

source_urls = [
    'https://github.com/singularityware/singularity/releases/download/%(version)s']
sources = [SOURCELOWER_TAR_GZ]

patches = [
    'Singularity-2.4.4-build.patch',
    'Singularity-2.4.4-functions.patch'
]

dependencies = [
    ('squashfs-tools', '4.3'),
]

builddependencies = [('Autotools', '20150215')]

preconfigopts = './autogen.sh && '

# modluafooter = 'add_property("state","experimental")'

moduleclass = 'tools'
