rockspecs: adds 0.4.5 rockspec
[luaevent.git] / rockspecs / luaevent / luaevent-0.4.5-1.rockspec
blobc312396185cb39163dc7567391058d900087a676
1 package="luaevent"
2 version="0.4.5-1"
3 source = {
4    url = "https://github.com/harningt/luaevent/archive/v0.4.5.tar.gz",
5    dir = "luaevent-0.4.5",
7 description = {
8    summary = "libevent binding for Lua",
9    detailed = [[
10        This is a binding of libevent to Lua
11    ]],
12    homepage = "https://github.com/harningt/luaevent",
13    license = "MIT"
15 dependencies = {
16    "lua >= 5.1, <= 5.3"
18 external_dependencies = {
19    EVENT = {
20       header = "event.h",
21       library = "event",
22    }
24 build = {
25    type = "builtin",
26    modules = {
27       ["luaevent.core"] = {
28          sources = { "src/buffer_event.c", "src/event_buffer.c", "src/event_callback.c", "src/utility.c", "src/luaevent.c" },
29          libdirs = "$(EVENT_LIBDIR)",
30          incdirs = { "include", "$(EVENT_INCDIR)" },
31          libraries = "event",
32       },
33       ["luaevent"] = "lua/luaevent.lua",
34    },
35    copy_directories = { "doc", "test" },