-
Notifications
You must be signed in to change notification settings - Fork 6
/
ffiex-0.2.0-8.rockspec
41 lines (41 loc) · 1.29 KB
/
ffiex-0.2.0-8.rockspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package = "ffiex"
version = "0.2.0-8"
source = {
url = "git://github.com/umegaya/ffiex.git",
}
description = {
summary = "extend luajit ffi module to give more affinity to C codes",
detailed = [[
- extend cdef to parse macro and headers includes
- not only entire header file contents but selective symbols for necessary specified function
- search and add header file path as usual C compiler
- ffi.csrc to add small C source to lua code (gcc, tcc(linux only) supported)
- macro can share between codes in cdef/csrc and lua (except functional macro :P)
]],
homepage = "https://github.com/umegaya/ffiex",
license = "Apache v2"
}
dependencies = {
"lua >= 5.1",
}
build = {
type = "builtin",
modules = {
["ffiex"] = "ffiex/init.lua",
["ffiex.lcpp"] = "ffiex/lcpp.lua",
["ffiex.parser"] = "ffiex/parser.lua",
["ffiex.util"] = "ffiex/util.lua",
["ffiex.builder.gcc"] = "ffiex/builder/gcc.lua",
["ffiex.builder.tcc"] = "ffiex/builder/tcc.lua",
},
install = {
lua = {
["ffiex"] = "ffiex/init.lua",
["ffiex.lcpp"] = "ffiex/lcpp.lua",
["ffiex.parser"] = "ffiex/parser.lua",
["ffiex.util"] = "ffiex/util.lua",
["ffiex.builder.gcc"] = "ffiex/builder/gcc.lua",
["ffiex.builder.tcc"] = "ffiex/builder/tcc.lua",
}
}
}