archenroot / gentoo-overlay

Gentoo overlay with main focus on GPU, Neural Networks, Big Data and Java technologies
http://gentoo.archenroot.org
15 stars 4 forks source link

Create ebuild for torch-opencv #1

Open archenroot opened 7 years ago

archenroot commented 7 years ago

Create Gentoo ebuild for https://github.com/VisionLabs/torch-opencv project

I also started forum discussion at gentoo forum

The luarocks gem build phase looks like this which need to be converted into ebuild style: 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) -j5 ]], install_command = "cd build && $(MAKE) install -j5" }