diff options
author | koray kavukcuoglu <koray@kavukcuoglu.org> | 2015-06-20 14:15:00 +0300 |
---|---|---|
committer | koray kavukcuoglu <koray@kavukcuoglu.org> | 2015-06-20 14:15:00 +0300 |
commit | cc9e49a4cc34f265ba36d210b2c78b1f825cc4fe (patch) | |
tree | 730724ed353cdef08b97dfec027478e27f6f9c88 /rocks | |
parent | 013e59a3670abf9e558f4749638f4aaac512bbe9 (diff) |
move rockspec into rocks folder
mv tests into test folder
add a proper test file
Diffstat (limited to 'rocks')
-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" +} |