local _MODREV, _SPECREV = 'git', '-1' package = 'stdlib' version = _MODREV .. _SPECREV description = { summary = 'General Lua Libraries', detailed = [[ stdlib is a library of modules for common programming tasks, including list and table operations, and pretty-printing. ]], homepage = 'http://lua-stdlib.github.io/lua-stdlib', license = 'MIT/X11', } source = (function(gitp) if gitp then return { url = 'git://github.com/lua-stdlib/lua-stdlib.git', } else return { url = 'http://github.com/lua-stdlib/lua-stdlib/archive/v' .. _MODREV .. '.zip', dir = 'lua-stdlib-' .. _MODREV, } end end)(_MODREV == 'git') dependencies = { 'lua >= 5.1, < 5.4', 'std._debug', 'std.normalize >= 2.0', } if _MODREV == 'git' then dependencies[#dependencies + 1] = 'ldoc' end build = { type = 'builtin', modules = { std = 'lib/std/init.lua', ['std._base'] = 'lib/std/_base.lua', ['std.debug'] = 'lib/std/debug.lua', ['std.io'] = 'lib/std/io.lua', ['std.math'] = 'lib/std/math.lua', ['std.package'] = 'lib/std/package.lua', ['std.string'] = 'lib/std/string.lua', ['std.table'] = 'lib/std/table.lua', }, }