Skip to content

Commit 782e2fa

Browse files
committed
add an scm rockspec
1 parent 34fe0e2 commit 782e2fa

File tree

2 files changed

+34
-1
lines changed

2 files changed

+34
-1
lines changed

lgi-scm-1.rockspec

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
package = 'lgi'
2+
version = 'scm-1'
3+
4+
description = {
5+
summary = "Lua bindings to GObject libraries",
6+
detailed = [[
7+
Dynamic Lua binding to any library which is introspectable
8+
using gobject-introspection. Allows using GObject-based libraries
9+
directly from Lua.
10+
]],
11+
license = 'MIT/X11',
12+
homepage = 'https://github.com/lgi-devs/lgi'
13+
}
14+
15+
supported_platforms = { 'unix' }
16+
17+
source = {
18+
url = 'git://github.com/lgi-devs/lgi.git',
19+
}
20+
21+
dependencies = { 'lua >= 5.1' }
22+
23+
build = {
24+
type = 'make',
25+
variables = {
26+
PREFIX = '$(PREFIX)',
27+
LUA_LIBDIR = '$(LIBDIR)',
28+
LUA_SHAREDIR = '$(LUADIR)',
29+
LUA_CFLAGS = '$(CFLAGS) -I$(LUA_INCDIR)',
30+
LIBFLAG = '$(LIBFLAG)',
31+
},
32+
copy_directories = { 'docs', 'samples' }
33+
}

rockspec.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ description = {
99
directly from Lua.
1010
]],
1111
license = 'MIT/X11',
12-
homepage = 'https://github.com/pavouk/lgi'
12+
homepage = 'https://github.com/lgi-devs/lgi'
1313
}
1414

1515
supported_platforms = { 'unix' }

0 commit comments

Comments
 (0)