aboutsummaryrefslogtreecommitdiff
path: root/lanes-3.1.6-1.rockspec
blob: 68eca587bed0c1af37e656ba5a74942051c25f47 (plain)
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
52
53
54
55
--
-- Lanes rockspec
--
-- Ref:
--      <http://luarocks.org/en/Rockspec_format>
--

package = "Lanes"

version = "3.1.6-1"

source= {
	url= "git://github.com/LuaLanes/lanes.git",
	branch= "v3.1.6"
}

description = {
	summary= "Multithreading support for Lua",
	detailed= [[
		Lua Lanes is a portable, message passing multithreading library
		providing the possibility to run multiple Lua states in parallel.
	]],
	license= "MIT/X11",
	homepage="https://github.com/LuaLanes/lanes",
	maintainer="Benoit Germain <bnt.germain@gmail.com>"
}

-- Q: What is the difference of "windows" and "win32"? Seems there is none;
--    so should we list either one or both?
--
supported_platforms= { "win32",
					   "macosx",
					   "linux",
					   "freebsd",   -- TBD: not tested
					   "msys",      -- TBD: not supported by LuaRocks 1.0 (or is it?)
}

dependencies= {
	"lua >= 5.1", -- builds with either 5.1 and 5.2
}

build = {
	type = "builtin",
	modules = 
	{
		["lanes.core"] =
		{
			sources = { "src/lanes.c", "src/keeper.c", "src/tools.c", "src/threading.c"},
			incdirs = { "src"},
		},
		lanes = "src/lanes.lua",
		["lanes-keeper"] = "src/lanes-keeper.lua"
	}
}