17 lines
460 B
Bash
Executable file
17 lines
460 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_BUILD_DIR}/Root/home/anon/c-ray"
|
|
cp -r c-ray-master/* "${SERENITY_BUILD_DIR}/Root/home/anon/c-ray"
|
|
}
|