From 9cca63ebefd6dd0274ffc97eecda103739e14ec1 Mon Sep 17 00:00:00 2001 From: moteus Date: Thu, 26 Dec 2013 12:07:55 +0400 Subject: Add. rockspec file. --- rockspecs/lua-llthreads2-scm-0.rockspec | 38 +++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 rockspecs/lua-llthreads2-scm-0.rockspec diff --git a/rockspecs/lua-llthreads2-scm-0.rockspec b/rockspecs/lua-llthreads2-scm-0.rockspec new file mode 100644 index 0000000..e543dc3 --- /dev/null +++ b/rockspecs/lua-llthreads2-scm-0.rockspec @@ -0,0 +1,38 @@ +package = "lua-llthreads2" +version = "scm-0" +source = { + url = "https://github.com/moteus/lua-llthreads2/archive/master.zip", + dir = "lua-llthreads2-master", +} +description = { + summary = "Low-Level threads for Lua", + homepage = "http://github.com/moteus/lua-llthreads2", + license = "MIT/X11", +} +dependencies = { + "lua >= 5.1, < 5.3", +} +build = { + type = "builtin", + platforms = { + unix = { + modules = { + llthreads = { + libraries = {"pthread"}, + } + } + }, + windows = { + modules = { + llthreads = { + libraries = {"kernel32"}, + } + } + } + }, + modules = { + llthreads = { + sources = { "src/l52util.c", "src/llthread.c" }, + } + } +} \ No newline at end of file -- cgit v1.2.3-55-g6feb