Skip to content

Commit 6a202af

Browse files
going versionless.
1 parent 11e29fd commit 6a202af

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

camera-1.1-0.rockspec

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
package = "camera"
2+
version = "1.1-0"
3+
4+
source = {
5+
url = "git://github.com/clementfarabet/lua---camera",
6+
}
7+
8+
description = {
9+
summary = "A simple wrapper package to give torch access to a webcam",
10+
detailed = [[
11+
Uses OpenCV on MacOS and video4linux2 on Linux to proved the low level access to the camera hardware.
12+
]],
13+
homepage = "https://github.com/clementfarabet/lua---camera",
14+
license = "BSD"
15+
}
16+
17+
dependencies = {
18+
"torch >= 7.0",
19+
"xlua >= 1.0",
20+
"sys >= 1.0",
21+
"image >= 1.0.1"
22+
}
23+
24+
build = {
25+
type = "command",
26+
build_command = [[
27+
cmake -E make_directory build;
28+
cd build;
29+
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="$(LUA_BINDIR)/.." -DCMAKE_INSTALL_PREFIX="$(PREFIX)";
30+
$(MAKE)
31+
]],
32+
install_command = "cd build && $(MAKE) install"
33+
}

0 commit comments

Comments
 (0)