Skip to content

Commit

Permalink
Release 0.1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
moteus committed Jul 21, 2017
1 parent a080720 commit 480e1c1
Show file tree
Hide file tree
Showing 2 changed files with 82 additions and 1 deletion.
81 changes: 81 additions & 0 deletions rockspecs/lluv-0.1.7-1.rockspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
package = "lluv"
version = "0.1.7-1"

source = {
url = "https://github.com/moteus/lua-lluv/archive/v0.1.7.zip",
dir = "lua-lluv-0.1.7",
}

description = {
summary = "Lua low-level binding to libuv",
homepage = "https://github.com/moteus/lua-lluv",
license = "MIT/X11",
maintainer = "Alexey Melnichuk",
detailed = [[
]],
}

dependencies = {
"lua >= 5.1, < 5.4"
}

external_dependencies = {
platforms = {
windows = {
UV = {
header = "uv.h",
library = "libuv",
}
};
unix = {
UV = {
header = "uv.h",
library = "uv",
}
};
}
}

build = {
copy_directories = {'doc', 'examples', 'test'},

type = "builtin",

platforms = {
windows = { modules = {
lluv = {
libraries = {"libuv", "ws2_32", "Iphlpapi", "Psapi", "Advapi32"},
}
}},
linux = { modules = {
lluv = {
libraries = {"uv", "rt"},
}
}},
unix = { modules = {
lluv = {
libraries = {"uv"},
}
}},
},

modules = {
lluv = {
sources = {
"src/lluv_utils.c", "src/lluv.c", "src/lluv_error.c",
"src/lluv_fbuf.c", "src/lluv_fs.c", "src/lluv_handle.c",
"src/lluv_stream.c", "src/lluv_idle.c", "src/lluv_loop.c",
"src/lluv_tcp.c", "src/lluv_timer.c", "src/lluv_pipe.c",
"src/lluv_tty.c", "src/lluv_udp.c", "src/lluv_prepare.c",
"src/lluv_check.c", "src/lluv_poll.c", "src/lluv_signal.c",
"src/lluv_fs_event.c", "src/lluv_fs_poll.c", "src/lluv_req.c",
"src/lluv_misc.c", "src/lluv_process.c", "src/lluv_dns.c",
"src/l52util.c", "src/lluv_list.c"
},
incdirs = { "$(UV_INCDIR)" },
libdirs = { "$(UV_LIBDIR)" }
},
["lluv.utils" ] = "src/lua/lluv/utils.lua",
["lluv.luasocket"] = "src/lua/lluv/luasocket.lua",
}
}
2 changes: 1 addition & 1 deletion src/lluv.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
#define LLUV_VERSION_MAJOR 0
#define LLUV_VERSION_MINOR 1
#define LLUV_VERSION_PATCH 7
#define LLUV_VERSION_COMMENT "dev"
// #define LLUV_VERSION_COMMENT "dev"

static const char* LLUV_REGISTRY = LLUV_PREFIX" Registry";
static const char* LLUV_HANDLES = LLUV_PREFIX" Handles";
Expand Down

0 comments on commit 480e1c1

Please sign in to comment.