rockspec: using md5 from uploaded tarball
[adg-lua.git] / rockspec.in
blobeaa9b49c66e01dff6657b457233a662814da42ae
1 package = '@PACKAGE@'
2 version = '@VERSION@-1'
3 source = {
4     url = 'http://downloads.sourceforge.net/adg/@PACKAGE_TARNAME@-@VERSION@.tar.bz2',
5     md5 = '29d1d682358af4df68b689aefabee9ff',
6     dir = '@PACKAGE_TARNAME@-@VERSION@'
8 description = {
9    summary = 'Demo on how to use the ADG canvas with Lua',
10    detailed = [[
11       Demo programs and examples on how to use the ADG canvas from
12       Lua throught LGI (Lua bindings generated dynamically). It is
13       *not* needed in order to use the ADG canvas from Lua: ADG and
14       LGI are just enough for that purpose.
15    ]],
16    homepage = '@PACKAGE_URL@',
17    license = 'LGPL2.1+'
19 dependencies = {
20    'lua >= @LUA_VERSION@',
21    'lgi >= @LGI_VERSION@',
23 build = {
24     type = 'command',
25     build_command = [[
26         LUA=$(LUA) \\
27         CPPFLAGS=-I$(LUA_INCDIR) \\
28         ./configure \\
29             --prefix=$(PREFIX) \\
30             --libdir=$(LIBDIR) \\
31             --datadir=$(LUADIR) && \\
32         make clean && \\
33         make
34     ]],
35     install_command = [[
36         make install
37     ]]