summaryrefslogtreecommitdiff
path: root/Ports/c-ray/package.sh
blob: 6f1352484e1b92bbfc3645b266a58db1f174db34 (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/CMakeToolchain.txt"
depends="SDL2"

configure() {
    run cmake $configopts
}

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