File: rockspec.in

package info (click to toggle)
lua-lgi 0.9.1-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,264 kB
  • ctags: 1,274
  • sloc: ansic: 5,067; makefile: 173; sh: 30
file content (34 lines) | stat: -rw-r--r-- 769 bytes parent folder | download | duplicates (5)
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' }
}