1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 22:47:44 +00:00

Ports: QuakeII port

This commit is contained in:
Jesse Buhagiar 2021-04-09 21:17:10 +10:00 committed by Andreas Kling
parent 60cdbc9397
commit cae33305b0
2 changed files with 21 additions and 0 deletions

20
Ports/quake2/package.sh Executable file
View file

@ -0,0 +1,20 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=quake2
version=0.1
workdir=SerenityQuakeII-master
useconfigure=true
files="https://github.com/SerenityOS/SerenityQuakeII/archive/master.tar.gz quake2.tar.gz"
makeopts=""
configopts="-DCMAKE_TOOLCHAIN_FILE=${SERENITY_SOURCE_DIR}/Toolchain/CMake/CMakeToolchain.txt"
depends=SDL2
launcher_name=QuakeII
launcher_category=Games
launcher_command=quake2
configure() {
run cmake $configopts
}
install() {
run make install
}