Lua-5.3.4.eb 1008 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
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."""

easybuild's avatar
easybuild committed
14
toolchain = SYSTEM
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35

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"