-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlauxhlib-scm-1.rockspec
31 lines (31 loc) · 1.05 KB
/
lauxhlib-scm-1.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
package = "lauxhlib"
version = "scm-1"
source = {
url = "git+https://github.com/mah0x211/lauxhlib.git",
}
description = {
summary = "A helper module for developing Lua modules in C language.",
homepage = "https://github.com/mah0x211/lauxhlib",
license = "MIT/X11",
maintainer = "Masatoshi Fukunaga",
}
dependencies = {
"lua >= 5.1",
}
build = {
type = "make",
build_variables = {
CFLAGS = "$(CFLAGS)",
WARNINGS = "-Wall -Wno-trigraphs -Wmissing-field-initializers -Wreturn-type -Wmissing-braces -Wparentheses -Wno-switch -Wunused-function -Wunused-label -Wunused-parameter -Wunused-variable -Wunused-value -Wuninitialized -Wunknown-pragmas -Wshadow -Wsign-compare",
CPPFLAGS = "-I$(LUA_INCDIR)",
LDFLAGS = "$(LIBFLAG)",
LIB_EXTENSION = "$(LIB_EXTENSION)",
LAUXHLIB_COVERAGE = "$(LAUXHLIB_COVERAGE)",
},
install_variables = {
LIB_EXTENSION = "$(LIB_EXTENSION)",
CONFDIR = "$(CONFDIR)",
LUA_INCDIR = "$(LUA_INCDIR)",
INST_LIBDIR = "$(LIBDIR)/lauxhlib",
},
}