Welcome to mirror list, hosted at ThFree Co, Russian Federation.

qtlua-scm-1.rockspec « rocks - github.com/torch/qtlua.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: bfbe380d36964b970801130a4ae1bfda3595b875 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package = "qtlua"
version = "scm-1"

source = {
   url = "git://github.com/torch/qtlua.git",
}

description = {
   summary = "Powerful QT interface to Lua",
   detailed = [[
   ]],
   homepage = "https://github.com/torch/qtlua",
   license = "BSD"
}

dependencies = {
   "lua >= 5.1",
}

build = {
   type = "command",
   build_command = [[
cmake -E make_directory build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DLUA=$(LUA) -DLUA_BINDIR="$(LUA_BINDIR)" -DLUA_INCDIR="$(LUA_INCDIR)" -DLUA_LIBDIR="$(LUA_LIBDIR)" -DLUADIR="$(LUADIR)" -DLIBDIR="$(LIBDIR)" -DCONFDIR="$(CONFDIR)" && $(MAKE)
]],
   install_command = "cd build && $(MAKE) install"
}