diff options
| author | Benoit Germain <bnt.germain@gmail.com> | 2012-11-21 21:04:48 +0100 |
|---|---|---|
| committer | Benoit Germain <bnt.germain@gmail.com> | 2012-11-21 21:04:48 +0100 |
| commit | 8c73ca05a8a6583844f7da90f3d8d1b2663a86a5 (patch) | |
| tree | facb840fb61c47cfa2e48964000253348c1c1548 | |
| parent | 2ff1905501d19199ddbb7d035f36ca7a41705a6a (diff) | |
| download | lanes-8c73ca05a8a6583844f7da90f3d8d1b2663a86a5.tar.gz lanes-8c73ca05a8a6583844f7da90f3d8d1b2663a86a5.tar.bz2 lanes-8c73ca05a8a6583844f7da90f3d8d1b2663a86a5.zip | |
rockspec for version 2.4.0
| -rw-r--r-- | lanes-3.2.0-1.rockspec | 54 | ||||
| -rw-r--r-- | lanes-3.4.0-1.rockspec (renamed from lanes-3.3.0-1.rockspec) | 18 |
2 files changed, 15 insertions, 57 deletions
diff --git a/lanes-3.2.0-1.rockspec b/lanes-3.2.0-1.rockspec deleted file mode 100644 index 2b59e34..0000000 --- a/lanes-3.2.0-1.rockspec +++ /dev/null | |||
| @@ -1,54 +0,0 @@ | |||
| 1 | -- | ||
| 2 | -- Lanes rockspec | ||
| 3 | -- | ||
| 4 | -- Ref: | ||
| 5 | -- <http://luarocks.org/en/Rockspec_format> | ||
| 6 | -- | ||
| 7 | |||
| 8 | package = "Lanes" | ||
| 9 | |||
| 10 | version = "3.2.0-1" | ||
| 11 | |||
| 12 | source= { | ||
| 13 | url= "git://github.com/LuaLanes/lanes.git", | ||
| 14 | branch= "v3.2.0" | ||
| 15 | } | ||
| 16 | |||
| 17 | description = { | ||
| 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 | -- | ||
| 31 | supported_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 | |||
| 38 | dependencies= { | ||
| 39 | "lua >= 5.1", -- builds with either 5.1 and 5.2 | ||
| 40 | } | ||
| 41 | |||
| 42 | build = { | ||
| 43 | type = "builtin", | ||
| 44 | modules = | ||
| 45 | { | ||
| 46 | ["lanes.core"] = | ||
| 47 | { | ||
| 48 | sources = { "src/lanes.c", "src/keeper.c", "src/tools.c", "src/threading.c"}, | ||
| 49 | incdirs = { "src"}, | ||
| 50 | }, | ||
| 51 | lanes = "src/lanes.lua" | ||
| 52 | } | ||
| 53 | } | ||
| 54 | |||
diff --git a/lanes-3.3.0-1.rockspec b/lanes-3.4.0-1.rockspec index deab417..3d294e3 100644 --- a/lanes-3.3.0-1.rockspec +++ b/lanes-3.4.0-1.rockspec | |||
| @@ -7,11 +7,11 @@ | |||
| 7 | 7 | ||
| 8 | package = "Lanes" | 8 | package = "Lanes" |
| 9 | 9 | ||
| 10 | version = "3.3.0-1" | 10 | version = "3.4.0-1" |
| 11 | 11 | ||
| 12 | source= { | 12 | source= { |
| 13 | url= "git://github.com/LuaLanes/lanes.git", | 13 | url= "git://github.com/LuaLanes/lanes.git", |
| 14 | branch= "v3.3.0" | 14 | branch= "v3.4.0" |
| 15 | } | 15 | } |
| 16 | 16 | ||
| 17 | description = { | 17 | description = { |
| @@ -41,6 +41,19 @@ dependencies= { | |||
| 41 | 41 | ||
| 42 | build = { | 42 | build = { |
| 43 | type = "builtin", | 43 | type = "builtin", |
| 44 | platforms = | ||
| 45 | { | ||
| 46 | linux = | ||
| 47 | { | ||
| 48 | modules = | ||
| 49 | { | ||
| 50 | ["lanes.core"] = | ||
| 51 | { | ||
| 52 | libraries = "pthread" | ||
| 53 | }, | ||
| 54 | } | ||
| 55 | } | ||
| 56 | }, | ||
| 44 | modules = | 57 | modules = |
| 45 | { | 58 | { |
| 46 | ["lanes.core"] = | 59 | ["lanes.core"] = |
| @@ -51,4 +64,3 @@ build = { | |||
| 51 | lanes = "src/lanes.lua" | 64 | lanes = "src/lanes.lua" |
| 52 | } | 65 | } |
| 53 | } | 66 | } |
| 54 | |||
