Debian Codegraph @

rockspec/cosmo-8.02.18-1.rockspec

raw
1 package = "Cosmo"
2
3 version = "8.02.18-1"
4
5 description = {
6 summary = "Safe templates for Lua",
7 detailed = [[
8 Cosmo is a "safe templates" engine. It allows you to fill nested templates,
9 providing many of the advantages of Turing-complete template engines,
10 without without the downside of allowing arbitrary code in the templates.
11 ]],
12 license = "MIT/X11",
13 homepage = "http://cosmo.luaforge.net"
14 }
15
16 dependencies = { }
17
18 source = {
19 url = "http://cosmo.luaforge.net/cosmo-8.02.18.tar.gz"
20 }
21
22 build = {
23 platforms = {
24 unix = {
25 type = "make",
26 build_pass = true,
27 build_target = "all",
28 install_target = "install-rocks",
29 build_variables = {
30 LIB_OPTION = "$(LIBFLAG)",
31 CFLAGS = "$(CFLAGS) -I$(LUA_INCDIR)",
32 },
33 install_variables = {
34 PREFIX = "$(PREFIX)",
35 LUA_BIN = "/usr/bin/env lua",
36 LUA_DIR= "$(LUADIR)",
37 LUA_LIBDIR = "$(LIBDIR)"
38 }
39 },
40 win32 = {
41 type = "make",
42 build_pass = true,
43 build_target = "all",
44 install_target = "install-rocks",
45 build_variables = {
46 LIB_OPTION = "$(LUA_LIBDIR)\\lua5.1.lib",
47 CFLAGS = "$(CFLAGS)",
48 LUA_INCLUDE = "$(LUA_INCDIR)"
49 },
50 install_variables = {
51 PREFIX = "$(PREFIX)",
52 LUA_BIN = "/usr/bin/env lua",
53 LUA_DIR= "$(LUADIR)",
54 LUA_LIBDIR = "$(LIBDIR)"
55 }
56 }
57 }
58 }