From a8219ef46c36f80e76ab0c38b29bb0eaba489931 Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Mon, 5 Jun 2017 11:26:07 +0200 Subject: rockspec for 3.11 --- lanes-3.11-1.rockspec | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 lanes-3.11-1.rockspec 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 @@ +-- +-- Lanes rockspec +-- +-- Ref: +-- +-- + +package = "Lanes" + +version = "3.11-1" + +source= { + url= "git://github.com/LuaLanes/lanes.git", + branch= "v3.11" +} + +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 " +} + +-- 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, 5.2 and 5.3 +} + +build = { + type = "builtin", + platforms = + { + linux = + { + modules = + { + ["lanes.core"] = + { + libraries = "pthread" + }, + } + } + }, + modules = + { + ["lanes.core"] = + { + sources = { "src/compat.c", "src/deep.c", "src/lanes.c", "src/keeper.c", "src/tools.c", "src/threading.c"}, + incdirs = { "src"}, + }, + lanes = "src/lanes.lua" + } +} -- cgit v1.2.3-55-g6feb