-
Notifications
You must be signed in to change notification settings - Fork 0
/
rockspec.in
38 lines (38 loc) · 986 Bytes
/
rockspec.in
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
package = '@PACKAGE@'
version = '@VERSION@-1'
source = {
url = 'http://downloads.sourceforge.net/adg/@PACKAGE_TARNAME@-@VERSION@.tar.bz2',
md5 = '29d1d682358af4df68b689aefabee9ff',
dir = '@PACKAGE_TARNAME@-@VERSION@'
}
description = {
summary = 'Demo on how to use the ADG canvas with Lua',
detailed = [[
Demo programs and examples on how to use the ADG canvas from
Lua throught LGI (Lua bindings generated dynamically). It is
*not* needed in order to use the ADG canvas from Lua: ADG and
LGI are just enough for that purpose.
]],
homepage = '@PACKAGE_URL@',
license = 'LGPL2.1+'
}
dependencies = {
'lua >= @LUA_VERSION@',
'lgi >= @LGI_VERSION@',
}
build = {
type = 'command',
build_command = [[
LUA=$(LUA) \\
CPPFLAGS=-I$(LUA_INCDIR) \\
./configure \\
--prefix=$(PREFIX) \\
--libdir=$(LIBDIR) \\
--datadir=$(LUADIR) && \\
make clean && \\
make
]],
install_command = [[
make install
]]
}