summaryrefslogtreecommitdiff
path: root/Data/BuiltIn/Libraries/lua-stdlib/stdlib-git-1.rockspec
diff options
context:
space:
mode:
Diffstat (limited to 'Data/BuiltIn/Libraries/lua-stdlib/stdlib-git-1.rockspec')
-rw-r--r--Data/BuiltIn/Libraries/lua-stdlib/stdlib-git-1.rockspec51
1 files changed, 51 insertions, 0 deletions
diff --git a/Data/BuiltIn/Libraries/lua-stdlib/stdlib-git-1.rockspec b/Data/BuiltIn/Libraries/lua-stdlib/stdlib-git-1.rockspec
new file mode 100644
index 0000000..504aee8
--- /dev/null
+++ b/Data/BuiltIn/Libraries/lua-stdlib/stdlib-git-1.rockspec
@@ -0,0 +1,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',
+ },
+}