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