mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
rvvm, add recipe for 0.7~git (#12173)
Co-authored-by: X512 <danger_mail@list.ru>
This commit is contained in:
46
app-emulation/rvvm/rvvm-0.7~git.recipe
Normal file
46
app-emulation/rvvm/rvvm-0.7~git.recipe
Normal file
@@ -0,0 +1,46 @@
|
||||
SUMMARY="The RISC-V Virtual Machine"
|
||||
DESCRIPTION="RVVM is a virtual machine / emulator for RISC-V guests, which emphasizes on \
|
||||
performance, security, lean code and portability. It already runs a lot of guest operating \
|
||||
systems, including Linux, Haiku, FreeBSD, OpenBSD, etc. It also aims to run RISC-V applications \
|
||||
on a foreign-arch host without full OS guest & isolation (Userland emulation)."
|
||||
HOMEPAGE="https://github.com/LekKit/RVVM"
|
||||
COPYRIGHT="2022-2025 LekKit and contributors"
|
||||
LICENSE="GNU GPL v3
|
||||
MPL v2.0"
|
||||
REVISION="1"
|
||||
srcGitRev="181fd23930352e0d1ab86662d48f32abda25abd6"
|
||||
SOURCE_URI="https://github.com/LekKit/RVVM/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="9a652684f0f656a6e95026ae0e7933feca4853b732b22656d969174421ea17a5"
|
||||
SOURCE_DIR="RVVM-$srcGitRev"
|
||||
|
||||
ARCHITECTURES="?all x86_64"
|
||||
SECONDARY_ARCHITECTURES="?x86"
|
||||
|
||||
PROVIDES="
|
||||
rvvm$secondaryArchSuffix = $portVersion
|
||||
cmd:rvvm_x86_64 = $portVersion
|
||||
lib:librvvm$secondaryArchSuffix
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
install -d $prefix/bin $libDir
|
||||
install -t $prefix/bin release.haiku.x86_64/rvvm_x86_64
|
||||
install -t $libDir release.haiku.x86_64/librvvm.so
|
||||
}
|
||||
Reference in New Issue
Block a user