aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoit Germain <bnt period germain arrobase gmail period com>2017-06-05 11:26:07 +0200
committerBenoit Germain <bnt period germain arrobase gmail period com>2017-06-05 11:26:07 +0200
commita8219ef46c36f80e76ab0c38b29bb0eaba489931 (patch)
tree4c944f1da2f0266eef1ae3eac85f285a3c8a0a99
parentc2ca1fce531e29f8209660b18ef0a493722813f1 (diff)
downloadlanes-a8219ef46c36f80e76ab0c38b29bb0eaba489931.tar.gz
lanes-a8219ef46c36f80e76ab0c38b29bb0eaba489931.tar.bz2
lanes-a8219ef46c36f80e76ab0c38b29bb0eaba489931.zip
rockspec for 3.11
-rw-r--r--lanes-3.11-1.rockspec66
1 files changed, 66 insertions, 0 deletions
diff --git a/lanes-3.11-1.rockspec b/lanes-3.11-1.rockspec
new file mode 100644
index 0000000..fde5878
--- /dev/null
+++ b/lanes-3.11-1.rockspec
@@ -0,0 +1,66 @@
1--
2-- Lanes rockspec
3--
4-- Ref:
5-- <http://luarocks.org/en/Rockspec_format>
6--
7
8package = "Lanes"
9
10version = "3.11-1"
11
12source= {
13 url= "git://github.com/LuaLanes/lanes.git",
14 branch= "v3.11"
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="https://github.com/LuaLanes/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", -- builds with either 5.1, 5.2 and 5.3
40}
41
42build = {
43 type = "builtin",
44 platforms =
45 {
46 linux =
47 {
48 modules =
49 {
50 ["lanes.core"] =
51 {
52 libraries = "pthread"
53 },
54 }
55 }
56 },
57 modules =
58 {
59 ["lanes.core"] =
60 {
61 sources = { "src/compat.c", "src/deep.c", "src/lanes.c", "src/keeper.c", "src/tools.c", "src/threading.c"},
62 incdirs = { "src"},
63 },
64 lanes = "src/lanes.lua"
65 }
66}