1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
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',
},
}
|