Browse Source

Update rockspec

Peter Colberg 3 years ago
parent
commit
38107395f8
1 changed files with 31 additions and 0 deletions
  1. 31
    0
      rockspec/templet-1.0.2-1.rockspec

+ 31
- 0
rockspec/templet-1.0.2-1.rockspec View File

@@ -0,0 +1,31 @@
1
+package = "templet"
2
+version = "1.0.2-1"
3
+source = {
4
+   url = "git://git.colberg.org/lua-templet",
5
+   tag = "1.0.2",
6
+}
7
+description = {
8
+   summary = "Templet for Lua",
9
+   detailed = [[
10
+      Templet is a template preprocessor written in pure Lua that parses text
11
+      templates with embedded Lua statements and expressions. Templet may be
12
+      used to preprocess source files of any language, such as OpenCL C.
13
+      Templet works with Lua 5.1, Lua 5.2, Lua 5.3, and LuaJIT.
14
+   ]],
15
+   homepage = "https://colberg.org/lua-templet/",
16
+   license = "MIT/X11",
17
+}
18
+build = {
19
+   type = "make",
20
+   build_target = "test",
21
+   build_variables = {
22
+      LUA = "$(LUA)",
23
+   },
24
+   install_variables = {
25
+      PREFIX = "$(PREFIX)",
26
+      LUADIR = "$(LUADIR)",
27
+      DOCDIR = "$(PREFIX)/doc",
28
+   },
29
+   copy_directories = {
30
+   },
31
+}

Loading…
Cancel
Save