paths-scm-1.rockspec 635 B

123456789101112131415161718192021222324252627
  1. package = "paths"
  2. version = "scm-1"
  3. source = {
  4. url = "git://github.com/torch/paths.git",
  5. }
  6. description = {
  7. summary = "Paths manipulations",
  8. detailed = [[
  9. ]],
  10. homepage = "https://github.com/torch/paths",
  11. license = "BSD"
  12. }
  13. dependencies = {
  14. "lua >= 5.1",
  15. }
  16. build = {
  17. type = "command",
  18. build_command = [[
  19. cmake -E make_directory build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DLUALIB=$(LUALIB) -DLUA_INCDIR="$(LUA_INCDIR)" -DLUA_LIBDIR="$(LUA_LIBDIR)" -DLUADIR="$(LUADIR)" -DLIBDIR="$(LIBDIR)" -DCMAKE_INSTALL_PREFIX="$(PREFIX)" && $(MAKE)
  20. ]],
  21. install_command = "cd build && $(MAKE) install"
  22. }