Switch to unified view

a b/bin/metrics/metrics-scm-0.rockspec
1
package = "metrics"
2
version = "scm-0"
3
4
source = {
5
   url = "git://github.com/hpenedones/metrics",
6
   tag = "master"
7
}
8
9
description = {
10
   summary = "A metrics package for Torch",
11
   detailed = [[
12
        Computes ROC curves, confusion matrix, etc.
13
   ]],
14
   homepage = "https://github.com/hpenedones/metrics"
15
}
16
17
dependencies = {
18
   "torch >= 7.0"
19
}
20
21
build = {
22
   type = "command",
23
   build_command = [[
24
cmake -E make_directory build;
25
cd build;
26
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="$(LUA_BINDIR)/.." -DCMAKE_INSTALL_PREFIX="$(PREFIX)"; 
27
$(MAKE)
28
   ]],
29
   install_command = "cd build && $(MAKE) install"
30
}