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
|
2021-04-17 11:30:03 +03:00
|
|
|
version=c094d64570c30c70f4003e9428d31a2a0d9d3d41
|
2019-12-10 17:38:20 +03:00
|
|
|
useconfigure=true
|
2021-04-17 11:30:03 +03:00
|
|
|
files="https://github.com/vkoskiv/c-ray/archive/${version}.tar.gz ${version}.tar.gz b83e3c6a1462486257dfe38d309b47c2"
|
2021-04-16 20:39:43 +03:00
|
|
|
auth_type=md5
|
2021-04-20 03:51:04 +03:00
|
|
|
configopts="-DCMAKE_TOOLCHAIN_FILE=$SERENITY_SOURCE_DIR/Toolchain/CMake/CMakeToolchain.txt"
|
2020-02-25 23:03:47 +03:00
|
|
|
depends="SDL2"
|
2021-04-17 11:30:03 +03:00
|
|
|
workdir="${port}-${version}"
|
2019-12-10 17:38:20 +03:00
|
|
|
|
|
|
|
configure() {
|
|
|
|
run cmake $configopts
|
|
|
|
}
|
|
|
|
|
|
|
|
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
|
|
|
}
|