Skip to content

Commit

Permalink
Merge pull request #305 from leafo/scm-rockspec
Browse files Browse the repository at this point in the history
add an scm rockspec
  • Loading branch information
psychon committed Nov 22, 2022
2 parents 34fe0e2 + 782e2fa commit 9757379
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
33 changes: 33 additions & 0 deletions lgi-scm-1.rockspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
package = 'lgi'
version = 'scm-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 = 'https://github.com/lgi-devs/lgi'
}

supported_platforms = { 'unix' }

source = {
url = 'git://github.com/lgi-devs/lgi.git',
}

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' }
}
2 changes: 1 addition & 1 deletion rockspec.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ description = {
directly from Lua.
]],
license = 'MIT/X11',
homepage = 'https://github.com/pavouk/lgi'
homepage = 'https://github.com/lgi-devs/lgi'
}

supported_platforms = { 'unix' }
Expand Down

0 comments on commit 9757379

Please sign in to comment.