Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add an scm rockspec #305

Merged
merged 1 commit into from
Nov 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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