diff options
Diffstat (limited to 'rocks/graph-scm-1.rockspec')
-rw-r--r-- | rocks/graph-scm-1.rockspec | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/rocks/graph-scm-1.rockspec b/rocks/graph-scm-1.rockspec new file mode 100644 index 0000000..c16b42a --- /dev/null +++ b/rocks/graph-scm-1.rockspec @@ -0,0 +1,28 @@ +package = "graph" +version = "scm-1" + +source = { + url = "git://github.com/torch/graph", + tag = "master" +} + +description = { + summary = "Graph package for Torch", + homepage = "https://github.com/torch/graph", + license = "UNKNOWN" +} + +dependencies = { + "torch >= 7.0" +} + +build = { + 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" +} |