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