-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathluakit-scm-1.rockspec
45 lines (40 loc) · 1.44 KB
/
luakit-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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
-- name of the package to be published
package = 'luakit'
-- version of the package; it's mandatory, but we don't use it in Tarantool;
-- instead, provide below a specific branch in the package's repository at
-- GitHub and set version to some stub value, e.g. 'scm-1'
version = 'scm-1'
-- url and branch of the package's repository at GitHub
source = {
url = 'git+https://github.com/tarantool/modulekit.git';
branch = 'luakit';
}
-- general information about the package;
-- for a Tarantool package, we require three fields (summary, homepage, license)
-- and more package information is always welcome
description = {
summary = "Lua module template for Tarantool";
detailed = [[
A ready-to-use Lua module template.
Clone and modify it to create new modules.
]];
homepage = 'https://github.com/tarantool/modulekit.git';
maintainer = "Roman Tsisyk <[email protected]>";
license = 'BSD2';
}
-- Lua version and other packages on which this one depends;
-- Tarantool currently supports strictly Lua 5.1
dependencies = {
'lua == 5.1';
}
-- build options and paths for the package;
-- this package distributes modules in pure Lua, so the build type = 'builtin';
-- also, specify here paths to all Lua modules within the package
-- (this package contains just one Lua module named 'luakit')
build = {
type = 'builtin';
modules = {
['luakit'] = 'luakit/init.lua';
}
}
-- vim: syntax=lua ts=4 sts=4 sw=4 et