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

github.com/clementfarabet/lua---nnx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Farabet <clement.farabet@gmail.com>2013-07-04 22:02:45 +0400
committerClement Farabet <clement.farabet@gmail.com>2013-07-04 22:02:45 +0400
commitb044436b53549348d228ed23a1278c2da379f92b (patch)
tree5ca7386edde1b760118d857a2d7d1f33ef3345c6 /nnx-0.1-1.rockspec
parentdf34525b4f7bfe9763fe3142cda3325b06b0491d (diff)
New rock
Diffstat (limited to 'nnx-0.1-1.rockspec')
-rw-r--r--nnx-0.1-1.rockspec12
1 files changed, 8 insertions, 4 deletions
diff --git a/nnx-0.1-1.rockspec b/nnx-0.1-1.rockspec
index f58f943..a133f1f 100644
--- a/nnx-0.1-1.rockspec
+++ b/nnx-0.1-1.rockspec
@@ -21,8 +21,12 @@ dependencies = {
}
build = {
- type = "cmake",
- variables = {
- LUAROCKS_PREFIX = "$(PREFIX)"
- }
+ type = "command",
+ build_command = [[
+cmake -E make_directory build;
+cd build;
+cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="$(LUA_BINDIR)/.." -DCMAKE_INSTALL_PREFIX="$(PREFIX)";
+$(MAKE)
+ ]],
+ install_command = "cd build && $(MAKE) install"
}