Skip to content

Commit 876f2c6

Browse files
committed
added rockspec
1 parent 3890080 commit 876f2c6

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

rocks/paths-scm-1.rockspec

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)