From 21e9a16028a75fdb26b57c3c5a5b647ce4ce25a7 Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Mon, 14 Oct 2013 14:30:33 +0200 Subject: Create lanes-3.7.0-1.rockspec --- lanes-3.7.0-1.rockspec | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 lanes-3.7.0-1.rockspec diff --git a/lanes-3.7.0-1.rockspec b/lanes-3.7.0-1.rockspec new file mode 100644 index 0000000..ec55bc1 --- /dev/null +++ b/lanes-3.7.0-1.rockspec @@ -0,0 +1,66 @@ +-- +-- Lanes rockspec +-- +-- Ref: +-- +-- + +package = "Lanes" + +version = "3.7.0-1" + +source= { + url= "git://github.com/LuaLanes/lanes.git", + branch= "v3.7.0" +} + +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 and 5.2 +} + +build = { + type = "builtin", + platforms = + { + linux = + { + modules = + { + ["lanes.core"] = + { + libraries = "pthread" + }, + } + } + }, + modules = + { + ["lanes.core"] = + { + sources = { "src/lanes.c", "src/keeper.c", "src/tools.c", "src/threading.c"}, + incdirs = { "src"}, + }, + lanes = "src/lanes.lua" + } +} -- cgit v1.2.3-55-g6feb