2021-01-22 19:44:05 +03:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
2019-12-10 17:38:20 +03:00
|
|
|
port=c-ray
|
2022-04-01 02:55:25 +03:00
|
|
|
version=8f30eb9904a4d20a78e9387d79dc049c5ed69b0c
|
2019-12-10 17:38:20 +03:00
|
|
|
useconfigure=true
|
2022-04-01 02:55:25 +03:00
|
|
|
files="https://github.com/vkoskiv/c-ray/archive/${version}.tar.gz ${version}.tar.gz 27fa6496721faf69f18dc0946f0747b64f3ced748440a8f906f51fcb7e5cb008"
|
2021-09-27 01:16:18 +03:00
|
|
|
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt")
|
|
|
|
depends=("SDL2")
|
2021-04-17 11:30:03 +03:00
|
|
|
workdir="${port}-${version}"
|
2019-12-10 17:38:20 +03:00
|
|
|
|
|
|
|
configure() {
|
2021-09-27 01:16:18 +03:00
|
|
|
run cmake "${configopts[@]}"
|
2019-12-10 17:38:20 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
install() {
|
2021-04-20 19:29:35 +03:00
|
|
|
mkdir -p "${SERENITY_INSTALL_ROOT}/home/anon/c-ray"
|
|
|
|
cp -r "${port}-${version}"/* "${SERENITY_INSTALL_ROOT}/home/anon/c-ray"
|
2019-12-10 17:38:20 +03:00
|
|
|
}
|