diff options
author | Jesse Buhagiar <jooster669@gmail.com> | 2021-04-09 21:17:10 +1000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-04-30 11:35:17 +0200 |
commit | cae33305b05fee14fb6c8035b7b240a14d555c2e (patch) | |
tree | 476c37fb73714cb35799bc62d4c5e5423113b65e /Ports | |
parent | 60cdbc9397037d551e5c7092471342920bc17eae (diff) | |
download | serenity-cae33305b05fee14fb6c8035b7b240a14d555c2e.zip |
Ports: QuakeII port
Diffstat (limited to 'Ports')
-rw-r--r-- | Ports/AvailablePorts.md | 1 | ||||
-rwxr-xr-x | Ports/quake2/package.sh | 20 |
2 files changed, 21 insertions, 0 deletions
diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md index a570aa99fd..c4094f01c0 100644 --- a/Ports/AvailablePorts.md +++ b/Ports/AvailablePorts.md @@ -97,6 +97,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^ | [`pt2-clone`](pt2-clone/) | ProTracker 2 clone | 1.28 | https://github.com/8bitbubsy/pt2-clone | | [`python3`](python3/) | Python | 3.9.4 | https://www.python.org/ | | [`quake`](quake/) | Quake | 0.65 | https://github.com/SerenityOS/SerenityQuake | +| [`quake2`](quake2/) | QuakeII | 0.1 | https://github.com/SerenityOS/SerenityQuakeII | | [`readline`](readline/) | GNU Readline Library | 8.1 | https://tiswww.case.edu/php/chet/readline/rltop.html | | [`rsync`](rsync/) | rsync | 3.1.3 | https://rsync.samba.org/ | | [`scummvm`](scummvm/) | ScummVM | 2.2.0 | https://www.scummvm.org/ | diff --git a/Ports/quake2/package.sh b/Ports/quake2/package.sh new file mode 100755 index 0000000000..dbe6d4c08e --- /dev/null +++ b/Ports/quake2/package.sh @@ -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 +} |