easyblock = 'ConfigureMake' name = "Lua" version = "5.3.4" homepage = "http://www.lua.org/" description = """Lua is a powerful, fast, lightweight, embeddable scripting language. Lua combines simple procedural syntax with powerful data description constructs based on associative arrays and extensible semantics. Lua is dynamically typed, runs by interpreting bytecode for a register-based virtual machine, and has automatic memory management with incremental garbage collection, making it ideal for configuration, scripting, and rapid prototyping.""" toolchain = SYSTEM sources = ['lua-%s.tar.gz' % version.replace('-', '.')] source_urls = ['http://sourceforge.net/projects/lmod/files/'] builddependencies = [ ('ncurses', '6.0'), ('libreadline', '7.0') ] skipsteps = ['configure'] prebuildopts = 'sed -i "s|INSTALL_TOP= \/usr\/local|INSTALL_TOP= %(installdir)s|" Makefile && ' buildopts = ' posix' sanity_check_paths = { 'files': ["bin/lua"], 'dirs': [] } moduleclass = "lang"