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

github.com/torch/sys.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Farabet <clement.farabet@gmail.com>2013-10-09 20:55:57 +0400
committerClement Farabet <clement.farabet@gmail.com>2013-10-09 20:56:06 +0400
commit914706a01bfb8f78eb044aa62d61f61082ff3329 (patch)
tree3b8052c2ae3d5bbb51fff54ff202acb62f26e9e8
parentafc408ad506a781f3dcbe129719013fc1dee1469 (diff)
New version
-rw-r--r--sys-1.0-0.rockspec3
-rw-r--r--sys-1.1-0.rockspec26
2 files changed, 28 insertions, 1 deletions
diff --git a/sys-1.0-0.rockspec b/sys-1.0-0.rockspec
index 08c008b..bc34425 100644
--- a/sys-1.0-0.rockspec
+++ b/sys-1.0-0.rockspec
@@ -2,7 +2,8 @@ package = "sys"
version = "1.0-0"
source = {
- url = "git://github.com/torch/sys"
+ url = "git://github.com/torch/sys",
+ tag = "1.0-0"
}
description = {
diff --git a/sys-1.1-0.rockspec b/sys-1.1-0.rockspec
new file mode 100644
index 0000000..dd46ca2
--- /dev/null
+++ b/sys-1.1-0.rockspec
@@ -0,0 +1,26 @@
+package = "sys"
+version = "1.1-0"
+
+source = {
+ url = "git://github.com/torch/sys",
+ tag = "1.1-0"
+}
+
+description = {
+ summary = "A system library for Torch",
+ detailed = [[
+Provides system functionalities for Torch.
+ ]],
+ homepage = "https://github.com/torch/sys",
+ license = "BSD"
+}
+
+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"
+}