Skip to content

Commit

Permalink
going versionless.
Browse files Browse the repository at this point in the history
clementfarabet committed Jul 11, 2014
1 parent 11e29fd commit 6a202af
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions camera-1.1-0.rockspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
package = "camera"
version = "1.1-0"

source = {
url = "git://github.com/clementfarabet/lua---camera",
}

description = {
summary = "A simple wrapper package to give torch access to a webcam",
detailed = [[
Uses OpenCV on MacOS and video4linux2 on Linux to proved the low level access to the camera hardware.
]],
homepage = "https://github.com/clementfarabet/lua---camera",
license = "BSD"
}

dependencies = {
"torch >= 7.0",
"xlua >= 1.0",
"sys >= 1.0",
"image >= 1.0.1"
}

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"
}

0 comments on commit 6a202af

Please sign in to comment.