Skip to content

Commit

Permalink
New rockspec
Browse files Browse the repository at this point in the history
  • Loading branch information
clementfarabet committed Jul 4, 2013
1 parent 33ab917 commit 239b825
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions fex-0.1-0.rockspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,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"
}

0 comments on commit 239b825

Please sign in to comment.