ladybird/Ports/c-ray/package.sh

19 lines
579 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=c094d64570c30c70f4003e9428d31a2a0d9d3d41
2019-12-10 17:38:20 +03:00
useconfigure=true
files="https://github.com/vkoskiv/c-ray/archive/${version}.tar.gz ${version}.tar.gz b83e3c6a1462486257dfe38d309b47c2"
auth_type=md5
configopts="-DCMAKE_TOOLCHAIN_FILE=$SERENITY_SOURCE_DIR/Toolchain/CMake/CMakeToolchain.txt"
2020-02-25 23:03:47 +03:00
depends="SDL2"
workdir="${port}-${version}"
2019-12-10 17:38:20 +03:00
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"
2019-12-10 17:38:20 +03:00
}