1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:57:45 +00:00

Ports: Add RVVM port

This commit is contained in:
LekKit 2023-04-22 00:46:02 +03:00 committed by Jelle Raaijmakers
parent ac435f914c
commit 12730cefce
2 changed files with 17 additions and 0 deletions

View file

@ -235,6 +235,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
| [`RISCVEmu`](RISCVEmu/) | A Basic C++ RISC-V Emulator | ad8ad6a | https://github.com/IdanHo/RISCVEmu |
| [`rsync`](rsync/) | rsync | 3.1.3 | https://rsync.samba.org/ |
| [`ruby`](ruby/) | Ruby | 3.0.4 | https://www.ruby-lang.org/ |
| [`rvvm`](rvvm/) | RVVM - The RISC-V Virtual Machine | 0.5 | https://github.com/LekKit/RVVM |
| [`sam`](sam/) | Software Automatic Mouth (SAM) | c86ea39 | https://github.com/vidarh/SAM |
| [`scummvm`](scummvm/) | ScummVM | 2.7.0 | https://www.scummvm.org/ |
| [`sdl12-compat`](sdl12-compat/) | SDL2 compatibility layer for SDL 1.2 games | 1.2.56 | https://github.com/libsdl-org/sdl12-compat/ |

16
Ports/rvvm/package.sh Executable file
View file

@ -0,0 +1,16 @@
#!/usr/bin/env -S bash ../.port_include.sh
port='rvvm'
version='0.5'
archive_hash=3a1dbb91ad04f068078bc6c6c27cc5792eebc111907cb5a14bde158fe6e757c9
files="https://github.com/LekKit/RVVM/archive/v$version.tar.gz rvvm.tar.gz $archive_hash"
auth_type='sha256'
workdir="RVVM-$version"
depends=('sdl12-compat')
build() {
run make OS=SerenityOS USE_SDL=1 USE_NET=1 GIT_COMMIT=76796ba all lib
}
install() {
run make OS=SerenityOS USE_SDL=1 USE_NET=1 GIT_COMMIT=76796ba DESTDIR="${DESTDIR}" install
}