Skip to content

Commit

Permalink
Release 0.1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
moteus committed May 6, 2018
1 parent 25ed29c commit 5f25c67
Show file tree
Hide file tree
Showing 3 changed files with 85 additions and 3 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2014-2017 Alexey Melnichuk
Copyright (c) 2014-2018 Alexey Melnichuk

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
82 changes: 82 additions & 0 deletions rockspecs/lluv-0.1.9-1.rockspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
package = "lluv"
version = "0.1.9-1"

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

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.cofs" ] = "src/lua/lluv/cofs.lua",
["lluv.utils" ] = "src/lua/lluv/utils.lua",
["lluv.luasocket"] = "src/lua/lluv/luasocket.lua",
}
}
4 changes: 2 additions & 2 deletions src/lluv.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@
#include "lluv_misc.h"
#include "lluv_dns.h"

#define LLUV_COPYRIGHT "Copyright (C) 2014-2017 Alexey Melnichuk"
#define LLUV_COPYRIGHT "Copyright (C) 2014-2018 Alexey Melnichuk"
#define LLUV_MODULE_NAME "lluv"
#define LLUV_LICENSE "MIT"

#define LLUV_VERSION_MAJOR 0
#define LLUV_VERSION_MINOR 1
#define LLUV_VERSION_PATCH 9
#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 5f25c67

Please sign in to comment.