ladybird/Ports/c-ray/package.sh

18 lines
593 B
Bash
Raw Normal View History

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
version=8f30eb9904a4d20a78e9387d79dc049c5ed69b0c
2019-12-10 17:38:20 +03:00
useconfigure=true
files="https://github.com/vkoskiv/c-ray/archive/${version}.tar.gz ${version}.tar.gz 27fa6496721faf69f18dc0946f0747b64f3ced748440a8f906f51fcb7e5cb008"
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt")
depends=("SDL2")
workdir="${port}-${version}"
2019-12-10 17:38:20 +03:00
configure() {
run cmake "${configopts[@]}"
2019-12-10 17:38:20 +03:00
}
install() {
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
}