forked from lgi-devs/lgi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rockspec.in
34 lines (29 loc) · 769 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
package = 'lgi'
version = '%VERSION%-1'
description = {
summary = "Lua bindings to GObject libraries",
detailed = [[
Dynamic Lua binding to any library which is introspectable
using gobject-introspection. Allows using GObject-based libraries
directly from Lua.
]],
license = 'MIT/X11',
homepage = 'http://github.com/pavouk/lgi'
}
supported_platforms = { 'unix' }
source = {
url = 'git://github.com/pavouk/lgi.git',
tag = '%VERSION%'
}
dependencies = { 'lua >= 5.1' }
build = {
type = 'make',
variables = {
PREFIX = '$(PREFIX)',
LUA_LIBDIR = '$(LIBDIR)',
LUA_SHAREDIR = '$(LUADIR)',
LUA_CFLAGS = '$(CFLAGS) -I$(LUA_INCDIR)',
LIBFLAG = '$(LIBFLAG)',
},
copy_directories = { 'docs', 'samples' }
}