diff options
author | Clement Farabet <clement.farabet@gmail.com> | 2013-07-04 22:04:27 +0400 |
---|---|---|
committer | Clement Farabet <clement.farabet@gmail.com> | 2013-07-04 22:04:27 +0400 |
commit | cc799962aebe303ef02cd3a971efb989e6f4a70f (patch) | |
tree | 3e4fbece168bf7b928aeccad1f8be43bfea468e4 | |
parent | a9ec80446d0482f9b5e48d1e6db67b8c4f9cd126 (diff) |
New rock
-rw-r--r-- | sys-1.0-0.rockspec | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/sys-1.0-0.rockspec b/sys-1.0-0.rockspec index 954e5ad..8ca6525 100644 --- a/sys-1.0-0.rockspec +++ b/sys-1.0-0.rockspec @@ -2,8 +2,7 @@ package = "sys" version = "1.0-0" source = { - url = "git://github.com/clementfarabet/lua---sys", - tag = "1.0-0" + url = "git://github.com/clementfarabet/lua---sys" } description = { @@ -20,8 +19,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" } |