diff options
author | Clement Farabet <clement.farabet@gmail.com> | 2013-07-04 22:02:45 +0400 |
---|---|---|
committer | Clement Farabet <clement.farabet@gmail.com> | 2013-07-04 22:02:45 +0400 |
commit | b044436b53549348d228ed23a1278c2da379f92b (patch) | |
tree | 5ca7386edde1b760118d857a2d7d1f33ef3345c6 /nnx-0.1-1.rockspec | |
parent | df34525b4f7bfe9763fe3142cda3325b06b0491d (diff) |
New rock
Diffstat (limited to 'nnx-0.1-1.rockspec')
-rw-r--r-- | nnx-0.1-1.rockspec | 12 |
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" } |