summaryrefslogtreecommitdiff
path: root/Ports/c-ray/package.sh
blob: 8425a0eceba781cc692624cbb3ebf95f55d00804 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env -S bash ../.port_include.sh
port=c-ray
version=git
workdir=c-ray-master
useconfigure=true
files="https://github.com/vkoskiv/c-ray/archive/master.tar.gz c-ray-git.tar.gz"
configopts="-DCMAKE_TOOLCHAIN_FILE=$SERENITY_ROOT/Toolchain/CMake/CMakeToolchain.txt"
depends="SDL2"

configure() {
    run cmake $configopts
}

install() {
	mkdir -p "${SERENITY_BUILD_DIR}/Root/home/anon/c-ray"
	cp -r c-ray-master/* "${SERENITY_BUILD_DIR}/Root/home/anon/c-ray"
}