mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
67ce82ba97
Part of the fix-linkage patch is removed as the changes are no longer required.
18 lines
610 B
Bash
Executable file
18 lines
610 B
Bash
Executable file
#!/usr/bin/env -S bash ../.port_include.sh
|
|
port=c-ray
|
|
version=8f30eb9904a4d20a78e9387d79dc049c5ed69b0c
|
|
useconfigure=true
|
|
files="https://github.com/vkoskiv/c-ray/archive/${version}.tar.gz ${version}.tar.gz 27fa6496721faf69f18dc0946f0747b64f3ced748440a8f906f51fcb7e5cb008"
|
|
auth_type=sha256
|
|
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt")
|
|
depends=("SDL2")
|
|
workdir="${port}-${version}"
|
|
|
|
configure() {
|
|
run cmake "${configopts[@]}"
|
|
}
|
|
|
|
install() {
|
|
mkdir -p "${SERENITY_INSTALL_ROOT}/home/anon/c-ray"
|
|
cp -r "${port}-${version}"/* "${SERENITY_INSTALL_ROOT}/home/anon/c-ray"
|
|
}
|