1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 10:57:35 +00:00

Ports: C-ray rendering engine

This commit is contained in:
Valtteri Koskivuori 2019-12-10 16:38:20 +02:00 committed by Andreas Kling
parent fe1df9e9fb
commit 2a21675b01
7 changed files with 176 additions and 0 deletions

17
Ports/c-ray/package.sh Executable file
View file

@ -0,0 +1,17 @@
#!/bin/bash ../.port_include.sh
port=c-ray
version=git
workdir=c-ray-master
useconfigure=true
curlopts="-L"
files="https://github.com/vkoskiv/c-ray/archive/master.tar.gz c-ray-git.tar.gz"
configopts="-DCMAKE_TOOLCHAIN_FILE=$SERENITY_ROOT/Toolchain/CMakeToolchain.txt -DNO_SDL2=True"
configure() {
run cmake $configopts
}
install() {
mkdir -p $SERENITY_ROOT/Root/home/anon/c-ray
cp -r c-ray-master/* $SERENITY_ROOT/Root/home/anon/c-ray
}