-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtomlua-scm-1.rockspec
More file actions
43 lines (38 loc) · 853 Bytes
/
tomlua-scm-1.rockspec
File metadata and controls
43 lines (38 loc) · 853 Bytes
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
42
43
local _MODREV, _SPECREV = 'scm', '-1'
rockspec_format = '3.0'
package = "tomlua"
version = _MODREV .. _SPECREV
source = {
url = "https://github.com/BirdeeHub/"..package,
}
description = {
summary = "TOML parser for Lua implemented in C",
homepage = "https://github.com/BirdeeHub/"..package,
license = "MIT"
}
dependencies = {
"lua >= 5.1"
}
build = {
type = "make",
build_variables = {
LIBFLAG="$(LIBFLAG)",
LUA_BINDIR="$(LUA_BINDIR)",
LUA_INCDIR="$(LUA_INCDIR)",
LUA="$(LUA)",
LUA_DIR="$(LUA_DIR)",
LUA_VERSION="$(LUA_VERSION)",
LUA_LIBDIR="$(LUA_LIBDIR)",
LUALIB="$(LUALIB)",
},
install_variables = {
PREFIX="$(PREFIX)",
LIBDIR="$(LIBDIR)",
BINDIR="$(BINDIR)",
LUADIR="$(LUADIR)",
},
}
test = {
type = "command",
command = "make test",
}