aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lanes-2.0-11.rockspec96
-rw-r--r--lanes-2.1-0.rockspec97
-rw-r--r--lanes-3.0-beta.rockspec97
-rw-r--r--lanes-3.0.0-1.rockspec97
-rw-r--r--lanes-3.1.0-1.rockspec91
-rw-r--r--lanes-3.1.1.rockspec91
-rw-r--r--lanes-3.1.2.rockspec91
-rw-r--r--lanes-3.1.3.rockspec91
8 files changed, 0 insertions, 751 deletions
diff --git a/lanes-2.0-11.rockspec b/lanes-2.0-11.rockspec
deleted file mode 100644
index a5e7d3a..0000000
--- a/lanes-2.0-11.rockspec
+++ /dev/null
@@ -1,96 +0,0 @@
1--
2-- Lanes rockspec
3--
4-- Ref:
5-- <http://luarocks.org/en/Rockspec_format>
6--
7-- History:
8-- BGe 27-Jan-2011: 2.0.11 (see CHANGES)
9-- AKa 1-Sep-2008: 2.0-2 (NOT sent to list): fixed VC++ not finding DLL issue
10-- AKa 20-Aug-2008: 2.0-1 sent to luarocks-developers
11--
12
13package = "Lanes"
14
15version = "2.0-11"
16
17source= {
18 url= "git://github.com/LuaLanes/lanes.git",
19 branch= "v2.0.11"
20}
21
22description = {
23 summary= "Multithreading support for Lua",
24 detailed= [[
25 Lua Lanes is a portable, message passing multithreading library
26 providing the possibility to run multiple Lua states in parallel.
27 ]],
28 license= "MIT/X11",
29 homepage="http://kotisivu.dnainternet.net/askok/lanes/",
30 maintainer="Benoit Germain <bnt.germain@gmail.com>"
31}
32
33-- Q: What is the difference of "windows" and "win32"? Seems there is none;
34-- so should we list either one or both?
35--
36supported_platforms= { "win32",
37 "macosx",
38 "linux",
39 "freebsd", -- TBD: not tested
40 "msys", -- TBD: not supported by LuaRocks 1.0 (or is it?)
41}
42
43dependencies= {
44 "lua >= 5.1, <= 5.2",
45}
46
47--
48-- Non-Win32: build using the Makefile
49-- Win32: build using 'make-vc.cmd' and "manual" copy of products
50--
51-- TBD: How is MSYS treated? We'd like (really) it to use the Makefile.
52-- It should be a target like "cygwin", not defining "windows".
53-- "windows" should actually guarantee Visual C++ as the compiler.
54--
55-- Q: Does "win32" guarantee we have Visual C++ 2005/2008 command line tools?
56--
57-- Note: Cannot use the simple "module" build type, because we need to precompile
58-- 'src/keeper.lua' -> keeper.lch and bake it into lanes.c.
59--
60build = {
61
62 -- Win32 (Visual C++) uses 'make-vc.cmd' for building
63 --
64 platforms= {
65 windows= {
66 type= "command",
67 build_command= "make-vc.cmd",
68 install= {
69 lua = { "src/lanes.lua" },
70 lib = { "lua51-lanes.dll" }
71 }
72 }
73 },
74
75 -- Other platforms use the Makefile
76 --
77 -- LuaRocks defines CFLAGS, LIBFLAG and LUA_INCDIR for 'make rock',
78 -- defines LIBDIR, LUADIR for 'make install'
79 --
80 -- Ref: <http://www.luarocks.org/en/Paths_and_external_dependencies>
81 --
82 type = "make",
83
84 build_target = "rock",
85 build_variables= {
86 CFLAGS= "$(CFLAGS) -I$(LUA_INCDIR)",
87 LIBFLAG= "$(LIBFLAG)",
88 },
89
90 install_target = "install",
91 install_variables= {
92 LUA_LIBDIR= "$(LIBDIR)",
93 LUA_SHAREDIR= "$(LUADIR)",
94 }
95}
96
diff --git a/lanes-2.1-0.rockspec b/lanes-2.1-0.rockspec
deleted file mode 100644
index a8ff1d2..0000000
--- a/lanes-2.1-0.rockspec
+++ /dev/null
@@ -1,97 +0,0 @@
1--
2-- Lanes rockspec
3--
4-- Ref:
5-- <http://luarocks.org/en/Rockspec_format>
6--
7-- History:
8-- BGe 1-Mar-2011: 2.1.0
9-- BGe 27-Jan-2011: 2.0.11 (see CHANGES)
10-- AKa 1-Sep-2008: 2.0-2 (NOT sent to list): fixed VC++ not finding DLL issue
11-- AKa 20-Aug-2008: 2.0-1 sent to luarocks-developers
12--
13
14package = "Lanes"
15
16version = "2.1-0"
17
18source= {
19 url= "git://github.com/LuaLanes/lanes.git",
20 branch= "v2.1.0"
21}
22
23description = {
24 summary= "Multithreading support for Lua",
25 detailed= [[
26 Lua Lanes is a portable, message passing multithreading library
27 providing the possibility to run multiple Lua states in parallel.
28 ]],
29 license= "MIT/X11",
30 homepage="http://kotisivu.dnainternet.net/askok/lanes/",
31 maintainer="Benoit Germain <bnt.germain@gmail.com>"
32}
33
34-- Q: What is the difference of "windows" and "win32"? Seems there is none;
35-- so should we list either one or both?
36--
37supported_platforms= { "win32",
38 "macosx",
39 "linux",
40 "freebsd", -- TBD: not tested
41 "msys", -- TBD: not supported by LuaRocks 1.0 (or is it?)
42}
43
44dependencies= {
45 "lua >= 5.1, <= 5.2",
46}
47
48--
49-- Non-Win32: build using the Makefile
50-- Win32: build using 'make-vc.cmd' and "manual" copy of products
51--
52-- TBD: How is MSYS treated? We'd like (really) it to use the Makefile.
53-- It should be a target like "cygwin", not defining "windows".
54-- "windows" should actually guarantee Visual C++ as the compiler.
55--
56-- Q: Does "win32" guarantee we have Visual C++ 2005/2008 command line tools?
57--
58-- Note: Cannot use the simple "module" build type, because we need to precompile
59-- 'src/keeper.lua' -> keeper.lch and bake it into lanes.c.
60--
61build = {
62
63 -- Win32 (Visual C++) uses 'make-vc.cmd' for building
64 --
65 platforms= {
66 windows= {
67 type= "command",
68 build_command= "make-vc.cmd",
69 install= {
70 lua = { "src/lanes.lua" },
71 lib = { "lua51-lanes.dll" }
72 }
73 }
74 },
75
76 -- Other platforms use the Makefile
77 --
78 -- LuaRocks defines CFLAGS, LIBFLAG and LUA_INCDIR for 'make rock',
79 -- defines LIBDIR, LUADIR for 'make install'
80 --
81 -- Ref: <http://www.luarocks.org/en/Paths_and_external_dependencies>
82 --
83 type = "make",
84
85 build_target = "rock",
86 build_variables= {
87 CFLAGS= "$(CFLAGS) -I$(LUA_INCDIR)",
88 LIBFLAG= "$(LIBFLAG)",
89 },
90
91 install_target = "install",
92 install_variables= {
93 LUA_LIBDIR= "$(LIBDIR)",
94 LUA_SHAREDIR= "$(LUADIR)",
95 }
96}
97
diff --git a/lanes-3.0-beta.rockspec b/lanes-3.0-beta.rockspec
deleted file mode 100644
index 8f10ef4..0000000
--- a/lanes-3.0-beta.rockspec
+++ /dev/null
@@ -1,97 +0,0 @@
1--
2-- Lanes rockspec
3--
4-- Ref:
5-- <http://luarocks.org/en/Rockspec_format>
6--
7-- History:
8-- BGe 1-Mar-2011: 2.1.0
9-- BGe 27-Jan-2011: 2.0.11 (see CHANGES)
10-- AKa 1-Sep-2008: 2.0-2 (NOT sent to list): fixed VC++ not finding DLL issue
11-- AKa 20-Aug-2008: 2.0-1 sent to luarocks-developers
12--
13
14package = "Lanes"
15
16version = "3.0-beta"
17
18source= {
19 url= "git://github.com/LuaLanes/lanes.git",
20 branch= "v3.0-beta"
21}
22
23description = {
24 summary= "Multithreading support for Lua",
25 detailed= [[
26 Lua Lanes is a portable, message passing multithreading library
27 providing the possibility to run multiple Lua states in parallel.
28 ]],
29 license= "MIT/X11",
30 homepage="http://kotisivu.dnainternet.net/askok/lanes/",
31 maintainer="Benoit Germain <bnt.germain@gmail.com>"
32}
33
34-- Q: What is the difference of "windows" and "win32"? Seems there is none;
35-- so should we list either one or both?
36--
37supported_platforms= { "win32",
38 "macosx",
39 "linux",
40 "freebsd", -- TBD: not tested
41 "msys", -- TBD: not supported by LuaRocks 1.0 (or is it?)
42}
43
44dependencies= {
45 "lua >= 5.1, <= 5.2",
46}
47
48--
49-- Non-Win32: build using the Makefile
50-- Win32: build using 'make-vc.cmd' and "manual" copy of products
51--
52-- TBD: How is MSYS treated? We'd like (really) it to use the Makefile.
53-- It should be a target like "cygwin", not defining "windows".
54-- "windows" should actually guarantee Visual C++ as the compiler.
55--
56-- Q: Does "win32" guarantee we have Visual C++ 2005/2008 command line tools?
57--
58-- Note: Cannot use the simple "module" build type, because we need to precompile
59-- 'src/keeper.lua' -> keeper.lch and bake it into lanes.c.
60--
61build = {
62
63 -- Win32 (Visual C++) uses 'make-vc.cmd' for building
64 --
65 platforms= {
66 windows= {
67 type= "command",
68 build_command= "make-vc.cmd",
69 install= {
70 lua = { "src/lanes.lua" },
71 lib = { "lua51-lanes.dll" }
72 }
73 }
74 },
75
76 -- Other platforms use the Makefile
77 --
78 -- LuaRocks defines CFLAGS, LIBFLAG and LUA_INCDIR for 'make rock',
79 -- defines LIBDIR, LUADIR for 'make install'
80 --
81 -- Ref: <http://www.luarocks.org/en/Paths_and_external_dependencies>
82 --
83 type = "make",
84
85 build_target = "rock",
86 build_variables= {
87 CFLAGS= "$(CFLAGS) -I$(LUA_INCDIR)",
88 LIBFLAG= "$(LIBFLAG)",
89 },
90
91 install_target = "install",
92 install_variables= {
93 LUA_LIBDIR= "$(LIBDIR)",
94 LUA_SHAREDIR= "$(LUADIR)",
95 }
96}
97
diff --git a/lanes-3.0.0-1.rockspec b/lanes-3.0.0-1.rockspec
deleted file mode 100644
index 1e090d5..0000000
--- a/lanes-3.0.0-1.rockspec
+++ /dev/null
@@ -1,97 +0,0 @@
1--
2-- Lanes rockspec
3--
4-- Ref:
5-- <http://luarocks.org/en/Rockspec_format>
6--
7-- History:
8-- BGe 1-Mar-2011: 2.1.0
9-- BGe 27-Jan-2011: 2.0.11 (see CHANGES)
10-- AKa 1-Sep-2008: 2.0-2 (NOT sent to list): fixed VC++ not finding DLL issue
11-- AKa 20-Aug-2008: 2.0-1 sent to luarocks-developers
12--
13
14package = "Lanes"
15
16version = "3.0.0-1"
17
18source= {
19 url= "git://github.com/LuaLanes/lanes.git",
20 branch= "v3.0.0"
21}
22
23description = {
24 summary= "Multithreading support for Lua",
25 detailed= [[
26 Lua Lanes is a portable, message passing multithreading library
27 providing the possibility to run multiple Lua states in parallel.
28 ]],
29 license= "MIT/X11",
30 homepage="http://kotisivu.dnainternet.net/askok/lanes/",
31 maintainer="Benoit Germain <bnt.germain@gmail.com>"
32}
33
34-- Q: What is the difference of "windows" and "win32"? Seems there is none;
35-- so should we list either one or both?
36--
37supported_platforms= { "win32",
38 "macosx",
39 "linux",
40 "freebsd", -- TBD: not tested
41 "msys", -- TBD: not supported by LuaRocks 1.0 (or is it?)
42}
43
44dependencies= {
45 "lua >= 5.1, <= 5.2",
46}
47
48--
49-- Non-Win32: build using the Makefile
50-- Win32: build using 'make-vc.cmd' and "manual" copy of products
51--
52-- TBD: How is MSYS treated? We'd like (really) it to use the Makefile.
53-- It should be a target like "cygwin", not defining "windows".
54-- "windows" should actually guarantee Visual C++ as the compiler.
55--
56-- Q: Does "win32" guarantee we have Visual C++ 2005/2008 command line tools?
57--
58-- Note: Cannot use the simple "module" build type, because we need to precompile
59-- 'src/keeper.lua' -> keeper.lch and bake it into lanes.c.
60--
61build = {
62
63 -- Win32 (Visual C++) uses 'make-vc.cmd' for building
64 --
65 platforms= {
66 windows= {
67 type= "command",
68 build_command= "make-vc.cmd",
69 install= {
70 lua = { "src/lanes.lua" },
71 lib = { "lua51-lanes.dll" }
72 }
73 }
74 },
75
76 -- Other platforms use the Makefile
77 --
78 -- LuaRocks defines CFLAGS, LIBFLAG and LUA_INCDIR for 'make rock',
79 -- defines LIBDIR, LUADIR for 'make install'
80 --
81 -- Ref: <http://www.luarocks.org/en/Paths_and_external_dependencies>
82 --
83 type = "make",
84
85 build_target = "rock",
86 build_variables= {
87 CFLAGS= "$(CFLAGS) -I$(LUA_INCDIR)",
88 LIBFLAG= "$(LIBFLAG)",
89 },
90
91 install_target = "install",
92 install_variables= {
93 LUA_LIBDIR= "$(LIBDIR)",
94 LUA_SHAREDIR= "$(LUADIR)",
95 }
96}
97
diff --git a/lanes-3.1.0-1.rockspec b/lanes-3.1.0-1.rockspec
deleted file mode 100644
index 98bbbf5..0000000
--- a/lanes-3.1.0-1.rockspec
+++ /dev/null
@@ -1,91 +0,0 @@
1--
2-- Lanes rockspec
3--
4-- Ref:
5-- <http://luarocks.org/en/Rockspec_format>
6--
7
8package = "Lanes"
9
10version = "3.1.0-1"
11
12source= {
13 url= "git://github.com/LuaLanes/lanes.git",
14 branch= "v3.1.0"
15}
16
17description = {
18 summary= "Multithreading support for Lua",
19 detailed= [[
20 Lua Lanes is a portable, message passing multithreading library
21 providing the possibility to run multiple Lua states in parallel.
22 ]],
23 license= "MIT/X11",
24 homepage="http://kotisivu.dnainternet.net/askok/lanes/",
25 maintainer="Benoit Germain <bnt.germain@gmail.com>"
26}
27
28-- Q: What is the difference of "windows" and "win32"? Seems there is none;
29-- so should we list either one or both?
30--
31supported_platforms= { "win32",
32 "macosx",
33 "linux",
34 "freebsd", -- TBD: not tested
35 "msys", -- TBD: not supported by LuaRocks 1.0 (or is it?)
36}
37
38dependencies= {
39 "lua >= 5.1, <= 5.2",
40}
41
42--
43-- Non-Win32: build using the Makefile
44-- Win32: build using 'make-vc.cmd' and "manual" copy of products
45--
46-- TBD: How is MSYS treated? We'd like (really) it to use the Makefile.
47-- It should be a target like "cygwin", not defining "windows".
48-- "windows" should actually guarantee Visual C++ as the compiler.
49--
50-- Q: Does "win32" guarantee we have Visual C++ 2005/2008 command line tools?
51--
52-- Note: Cannot use the simple "module" build type, because we need to precompile
53-- 'src/keeper.lua' -> keeper.lch and bake it into lanes.c.
54--
55build = {
56
57 -- Win32 (Visual C++) uses 'make-vc.cmd' for building
58 --
59 platforms= {
60 windows= {
61 type= "command",
62 build_command= "make-vc.cmd",
63 install= {
64 lua = { "src/lanes.lua" },
65 lib = { "lua51-lanes.dll" }
66 }
67 }
68 },
69
70 -- Other platforms use the Makefile
71 --
72 -- LuaRocks defines CFLAGS, LIBFLAG and LUA_INCDIR for 'make rock',
73 -- defines LIBDIR, LUADIR for 'make install'
74 --
75 -- Ref: <http://www.luarocks.org/en/Paths_and_external_dependencies>
76 --
77 type = "make",
78
79 build_target = "rock",
80 build_variables= {
81 CFLAGS= "$(CFLAGS) -I$(LUA_INCDIR)",
82 LIBFLAG= "$(LIBFLAG)",
83 },
84
85 install_target = "install",
86 install_variables= {
87 LUA_LIBDIR= "$(LIBDIR)",
88 LUA_SHAREDIR= "$(LUADIR)",
89 }
90}
91
diff --git a/lanes-3.1.1.rockspec b/lanes-3.1.1.rockspec
deleted file mode 100644
index 1b06384..0000000
--- a/lanes-3.1.1.rockspec
+++ /dev/null
@@ -1,91 +0,0 @@
1--
2-- Lanes rockspec
3--
4-- Ref:
5-- <http://luarocks.org/en/Rockspec_format>
6--
7
8package = "Lanes"
9
10version = "3.1.1-1"
11
12source= {
13 url= "git://github.com/LuaLanes/lanes.git",
14 branch= "v3.1.1"
15}
16
17description = {
18 summary= "Multithreading support for Lua",
19 detailed= [[
20 Lua Lanes is a portable, message passing multithreading library
21 providing the possibility to run multiple Lua states in parallel.
22 ]],
23 license= "MIT/X11",
24 homepage="http://kotisivu.dnainternet.net/askok/lanes/",
25 maintainer="Benoit Germain <bnt.germain@gmail.com>"
26}
27
28-- Q: What is the difference of "windows" and "win32"? Seems there is none;
29-- so should we list either one or both?
30--
31supported_platforms= { "win32",
32 "macosx",
33 "linux",
34 "freebsd", -- TBD: not tested
35 "msys", -- TBD: not supported by LuaRocks 1.0 (or is it?)
36}
37
38dependencies= {
39 "lua = 5.1",
40}
41
42--
43-- Non-Win32: build using the Makefile
44-- Win32: build using 'make-vc.cmd' and "manual" copy of products
45--
46-- TBD: How is MSYS treated? We'd like (really) it to use the Makefile.
47-- It should be a target like "cygwin", not defining "windows".
48-- "windows" should actually guarantee Visual C++ as the compiler.
49--
50-- Q: Does "win32" guarantee we have Visual C++ 2005/2008 command line tools?
51--
52-- Note: Cannot use the simple "module" build type, because we need to precompile
53-- 'src/keeper.lua' -> keeper.lch and bake it into lanes.c.
54--
55build = {
56
57 -- Win32 (Visual C++) uses 'make-vc.cmd' for building
58 --
59 platforms= {
60 windows= {
61 type= "command",
62 build_command= "make-vc.cmd",
63 install= {
64 lua = { "src/lanes.lua" },
65 lib = { "lua51-lanes.dll" }
66 }
67 }
68 },
69
70 -- Other platforms use the Makefile
71 --
72 -- LuaRocks defines CFLAGS, LIBFLAG and LUA_INCDIR for 'make rock',
73 -- defines LIBDIR, LUADIR for 'make install'
74 --
75 -- Ref: <http://www.luarocks.org/en/Paths_and_external_dependencies>
76 --
77 type = "make",
78
79 build_target = "rock",
80 build_variables= {
81 CFLAGS= "$(CFLAGS) -I$(LUA_INCDIR)",
82 LIBFLAG= "$(LIBFLAG)",
83 },
84
85 install_target = "install",
86 install_variables= {
87 LUA_LIBDIR= "$(LIBDIR)",
88 LUA_SHAREDIR= "$(LUADIR)",
89 }
90}
91
diff --git a/lanes-3.1.2.rockspec b/lanes-3.1.2.rockspec
deleted file mode 100644
index a184efe..0000000
--- a/lanes-3.1.2.rockspec
+++ /dev/null
@@ -1,91 +0,0 @@
1--
2-- Lanes rockspec
3--
4-- Ref:
5-- <http://luarocks.org/en/Rockspec_format>
6--
7
8package = "Lanes"
9
10version = "3.1.2-1"
11
12source= {
13 url= "git://github.com/LuaLanes/lanes.git",
14 branch= "v3.1.2"
15}
16
17description = {
18 summary= "Multithreading support for Lua",
19 detailed= [[
20 Lua Lanes is a portable, message passing multithreading library
21 providing the possibility to run multiple Lua states in parallel.
22 ]],
23 license= "MIT/X11",
24 homepage="http://kotisivu.dnainternet.net/askok/lanes/",
25 maintainer="Benoit Germain <bnt.germain@gmail.com>"
26}
27
28-- Q: What is the difference of "windows" and "win32"? Seems there is none;
29-- so should we list either one or both?
30--
31supported_platforms= { "win32",
32 "macosx",
33 "linux",
34 "freebsd", -- TBD: not tested
35 "msys", -- TBD: not supported by LuaRocks 1.0 (or is it?)
36}
37
38dependencies= {
39 "lua = 5.1",
40}
41
42--
43-- Non-Win32: build using the Makefile
44-- Win32: build using 'make-vc.cmd' and "manual" copy of products
45--
46-- TBD: How is MSYS treated? We'd like (really) it to use the Makefile.
47-- It should be a target like "cygwin", not defining "windows".
48-- "windows" should actually guarantee Visual C++ as the compiler.
49--
50-- Q: Does "win32" guarantee we have Visual C++ 2005/2008 command line tools?
51--
52-- Note: Cannot use the simple "module" build type, because we need to precompile
53-- 'src/keeper.lua' -> keeper.lch and bake it into lanes.c.
54--
55build = {
56
57 -- Win32 (Visual C++) uses 'make-vc.cmd' for building
58 --
59 platforms= {
60 windows= {
61 type= "command",
62 build_command= "make-vc.cmd",
63 install= {
64 lua = { "src/lanes.lua" },
65 lib = { "lua51-lanes.dll" }
66 }
67 }
68 },
69
70 -- Other platforms use the Makefile
71 --
72 -- LuaRocks defines CFLAGS, LIBFLAG and LUA_INCDIR for 'make rock',
73 -- defines LIBDIR, LUADIR for 'make install'
74 --
75 -- Ref: <http://www.luarocks.org/en/Paths_and_external_dependencies>
76 --
77 type = "make",
78
79 build_target = "rock",
80 build_variables= {
81 CFLAGS= "$(CFLAGS) -I$(LUA_INCDIR)",
82 LIBFLAG= "$(LIBFLAG)",
83 },
84
85 install_target = "install",
86 install_variables= {
87 LUA_LIBDIR= "$(LIBDIR)",
88 LUA_SHAREDIR= "$(LUADIR)",
89 }
90}
91
diff --git a/lanes-3.1.3.rockspec b/lanes-3.1.3.rockspec
deleted file mode 100644
index 04c50e4..0000000
--- a/lanes-3.1.3.rockspec
+++ /dev/null
@@ -1,91 +0,0 @@
1--
2-- Lanes rockspec
3--
4-- Ref:
5-- <http://luarocks.org/en/Rockspec_format>
6--
7
8package = "Lanes"
9
10version = "3.1.3-1"
11
12source= {
13 url= "git://github.com/LuaLanes/lanes.git",
14 branch= "v3.1.3"
15}
16
17description = {
18 summary= "Multithreading support for Lua",
19 detailed= [[
20 Lua Lanes is a portable, message passing multithreading library
21 providing the possibility to run multiple Lua states in parallel.
22 ]],
23 license= "MIT/X11",
24 homepage="http://kotisivu.dnainternet.net/askok/lanes/",
25 maintainer="Benoit Germain <bnt.germain@gmail.com>"
26}
27
28-- Q: What is the difference of "windows" and "win32"? Seems there is none;
29-- so should we list either one or both?
30--
31supported_platforms= { "win32",
32 "macosx",
33 "linux",
34 "freebsd", -- TBD: not tested
35 "msys", -- TBD: not supported by LuaRocks 1.0 (or is it?)
36}
37
38dependencies= {
39 "lua = 5.1",
40}
41
42--
43-- Non-Win32: build using the Makefile
44-- Win32: build using 'make-vc.cmd' and "manual" copy of products
45--
46-- TBD: How is MSYS treated? We'd like (really) it to use the Makefile.
47-- It should be a target like "cygwin", not defining "windows".
48-- "windows" should actually guarantee Visual C++ as the compiler.
49--
50-- Q: Does "win32" guarantee we have Visual C++ 2005/2008 command line tools?
51--
52-- Note: Cannot use the simple "module" build type, because we need to precompile
53-- 'src/keeper.lua' -> keeper.lch and bake it into lanes.c.
54--
55build = {
56
57 -- Win32 (Visual C++) uses 'make-vc.cmd' for building
58 --
59 platforms= {
60 windows= {
61 type= "command",
62 build_command= "make-vc.cmd",
63 install= {
64 lua = { "src/lanes.lua" },
65 lib = { "lua51-lanes.dll" }
66 }
67 }
68 },
69
70 -- Other platforms use the Makefile
71 --
72 -- LuaRocks defines CFLAGS, LIBFLAG and LUA_INCDIR for 'make rock',
73 -- defines LIBDIR, LUADIR for 'make install'
74 --
75 -- Ref: <http://www.luarocks.org/en/Paths_and_external_dependencies>
76 --
77 type = "make",
78
79 build_target = "rock",
80 build_variables= {
81 CFLAGS= "$(CFLAGS) -I$(LUA_INCDIR)",
82 LIBFLAG= "$(LIBFLAG)",
83 },
84
85 install_target = "install",
86 install_variables= {
87 LUA_LIBDIR= "$(LIBDIR)",
88 LUA_SHAREDIR= "$(LUADIR)",
89 }
90}
91