ladybird/Ports/c-ray/package.sh
2021-01-22 17:44:05 +01:00

17 lines
454 B
Bash
Executable file

#!/usr/bin/env -S bash ../.port_include.sh
port=c-ray
version=git
workdir=c-ray-master
useconfigure=true
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"
depends="SDL2"
configure() {
run cmake $configopts
}
install() {
mkdir -p $SERENITY_ROOT/Build/Root/home/anon/c-ray
cp -r c-ray-master/* $SERENITY_ROOT/Build/Root/home/anon/c-ray
}