mirror of
https://github.com/RGBCube/serenity
synced 2025-07-29 12:17:36 +00:00
Ports: Add RISCVEmu
This commit is contained in:
parent
5510b98dc8
commit
45995aaeb6
2 changed files with 15 additions and 0 deletions
14
Ports/RISCVEmu/package.sh
Executable file
14
Ports/RISCVEmu/package.sh
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env -S bash ../.port_include.sh
|
||||
port=RISCVEmu
|
||||
version=ad8ad6a0eb8591385318b2ec1cffde6078ff0185
|
||||
files="https://github.com/IdanHo/RISCVEmu/archive/${version}.tar.gz RISCVEmu-${version}.tar.gz b4636284dd407e490ba6dd783b65caf8c019785285d6a86aece3860465276b33"
|
||||
auth_type="sha256"
|
||||
|
||||
build() {
|
||||
run "${CXX}" -o RISCVEmu RISCVEmu.cpp RISCV.cpp
|
||||
}
|
||||
|
||||
install() {
|
||||
run mkdir -p "${SERENITY_INSTALL_ROOT}/usr/local/bin"
|
||||
run cp RISCVEmu "${SERENITY_INSTALL_ROOT}/usr/local/bin"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue