easyblock = 'ConfigureMake'

name = 'Singularity'
version = '2.3.2'
versionsuffix = '-docker-fix'

homepage = 'http://gmkurtzer.github.io/singularity'
description = """Singularity is a portable application stack packaging and runtime utility."""

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

source_urls = ['https://github.com/It4innovations/singularity/archive']
sources = ['docker-fix.zip']

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

preconfigopts = './autogen.sh && '

modextravars = {'SINGULARITY_OVERLAYFS_ENABLED': '1'}

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

moduleclass = 'tools'