There was an error while loading. Please reload this page.
1 parent 3890080 commit 876f2c6Copy full SHA for 876f2c6
rocks/paths-scm-1.rockspec
@@ -0,0 +1,26 @@
1
+package = "paths"
2
+version = "scm-1"
3
+
4
+source = {
5
+ url = "git://github.com/torch/paths.git",
6
+}
7
8
+description = {
9
+ summary = "Paths manipulations",
10
+ detailed = [[
11
+ ]],
12
+ homepage = "https://github.com/torch/paths",
13
+ license = "BSD"
14
15
16
+dependencies = {
17
+ "lua >= 5.1",
18
19
20
+build = {
21
+ type = "command",
22
+ build_command = [[
23
+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)
24
+]],
25
+ install_command = "cd build && $(MAKE) install"
26
0 commit comments