Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/paths.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonan Collobert <ronan@collobert.com>2014-02-13 20:29:07 +0400
committerRonan Collobert <ronan@collobert.com>2014-02-13 20:29:07 +0400
commit876f2c6d96ca2c8c29cd61165ef38d5221015776 (patch)
tree6198c73697af6c6b09d6dab5decca872c1217feb
parent389008092fc2df6d3caccf4829910e017eded265 (diff)
added rockspec
-rw-r--r--rocks/paths-scm-1.rockspec26
1 files changed, 26 insertions, 0 deletions
diff --git a/rocks/paths-scm-1.rockspec b/rocks/paths-scm-1.rockspec
new file mode 100644
index 0000000..6305fa0
--- /dev/null
+++ b/rocks/paths-scm-1.rockspec
@@ -0,0 +1,26 @@
+package = "paths"
+version = "scm-1"
+
+source = {
+ url = "git://github.com/torch/paths.git",
+}
+
+description = {
+ summary = "Paths manipulations",
+ detailed = [[
+ ]],
+ homepage = "https://github.com/torch/paths",
+ license = "BSD"
+}
+
+dependencies = {
+ "lua >= 5.1",
+}
+
+build = {
+ type = "command",
+ build_command = [[
+cmake -E make_directory build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DLUALIB=$(LUALIB) -DLUA_INCDIR="$(LUA_INCDIR)" -DLUA_LIBDIR="$(LUA_LIBDIR)" -DLUADIR="$(LUADIR)" -DLIBDIR="$(LIBDIR)" -DCMAKE_INSTALL_PREFIX="$(PREFIX)" && $(MAKE)
+]],
+ install_command = "cd build && $(MAKE) install"
+}