rockspec.in 769 B

1234567891011121314151617181920212223242526272829303132333435
  1. package = 'lgi'
  2. version = '%VERSION%-1'
  3. description = {
  4. summary = "Lua bindings to GObject libraries",
  5. detailed = [[
  6. Dynamic Lua binding to any library which is introspectable
  7. using gobject-introspection. Allows using GObject-based libraries
  8. directly from Lua.
  9. ]],
  10. license = 'MIT/X11',
  11. homepage = 'http://github.com/pavouk/lgi'
  12. }
  13. supported_platforms = { 'unix' }
  14. source = {
  15. url = 'git://github.com/pavouk/lgi.git',
  16. tag = '%VERSION%'
  17. }
  18. dependencies = { 'lua >= 5.1' }
  19. build = {
  20. type = 'make',
  21. variables = {
  22. PREFIX = '$(PREFIX)',
  23. LUA_LIBDIR = '$(LIBDIR)',
  24. LUA_SHAREDIR = '$(LUADIR)',
  25. LUA_CFLAGS = '$(CFLAGS) -I$(LUA_INCDIR)',
  26. LIBFLAG = '$(LIBFLAG)',
  27. },
  28. copy_directories = { 'docs', 'samples' }
  29. }