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-25 13:20:15 +03:00
|
|
|
files="https://github.com/vkoskiv/c-ray/archive/${version}.tar.gz ${version}.tar.gz 1e0663a1d83e8a9984aced33b9307471f3302c8a5ea7ec47954854d60902a747"
|
|
|
|
auth_type=sha256
|
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
|
|
|
}
|