/
rockspecs.lua
42 lines (38 loc) · 1.06 KB
/
rockspecs.lua
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
-- Rockspec data
-- Variables to be interpolated:
--
-- package_name
-- version
local default = {
package = package_name,
version = version.."-1",
source = {
url = "git://github.com/rrthomas/"..package_name..".git",
},
description = {
summary = "Experimental lightweight editor",
detailed = [[
Zee is a lightweight editor. Zee is aimed at small footprint
systems and quick editing sessions (it starts up and shuts down
instantly).]],
homepage = "http://github.com/rrthomas/"..package_name.."/",
license = "GPLv3+",
},
dependencies = {
"lua == 5.3",
"stdlib >= 41.2.0",
"luaposix == 33.3.1", -- FIXME: Fix to use lcurses package
"lrexlib-gnu >= 2.8.0",
"alien >= 0.7.1",
},
build = {
type = "command",
build_command = "LUA=$(LUA) autoreconf -i && ./configure --prefix=$(PREFIX) --libdir=$(LIBDIR) --datadir=$(LUADIR) && make clean && make",
install_command = "make install",
copy_directories = {},
},
}
if version ~= "git" then
default.source.branch = "v"..version
end
return {default=default, [""]={}}