You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
837 B
Lua
52 lines
837 B
Lua
package = "lua-zmq"
|
|
version = "scm-2"
|
|
source = {
|
|
url = "git://github.com/Neopallium/lua-zmq.git",
|
|
}
|
|
description = {
|
|
summary = "Lua bindings to zeromq2, with LuaJIT2 FFI support.",
|
|
homepage = "http://github.com/Neopallium/lua-zmq",
|
|
license = "MIT/X11",
|
|
}
|
|
dependencies = {
|
|
"lua >= 5.1, < 5.5",
|
|
}
|
|
external_dependencies = {
|
|
platforms = {
|
|
windows = {
|
|
ZEROMQ = {
|
|
library = "libzmq",
|
|
}
|
|
},
|
|
},
|
|
ZEROMQ = {
|
|
header = "zmq.h",
|
|
library = "zmq",
|
|
}
|
|
}
|
|
build = {
|
|
platforms = {
|
|
windows = {
|
|
modules = {
|
|
zmq = {
|
|
libraries = {"libzmq"},
|
|
}
|
|
}
|
|
},
|
|
},
|
|
type = "builtin",
|
|
modules = {
|
|
zmq = {
|
|
sources = {"src/pre_generated-zmq.nobj.c"},
|
|
incdirs = "$(ZEROMQ_INCDIR)",
|
|
libdirs = "$(ZEROMQ_LIBDIR)",
|
|
libraries = {"zmq"},
|
|
},
|
|
},
|
|
install = {
|
|
lua = {
|
|
['zmq.poller'] = "src/poller.lua",
|
|
},
|
|
},
|
|
}
|