mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-25 22:34:18 +08:00
Add the retrowin32 recipe
This commit is contained in:
parent
8b2a35665b
commit
c01ceae3d6
21
recipes/wip/emulators/windows/retrowin32/recipe.toml
Normal file
21
recipes/wip/emulators/windows/retrowin32/recipe.toml
Normal file
@ -0,0 +1,21 @@
|
||||
#TODO not compiled or tested
|
||||
[source]
|
||||
git = "https://github.com/evmar/retrowin32"
|
||||
[build]
|
||||
template = "custom"
|
||||
dependencies = [
|
||||
"sdl2",
|
||||
]
|
||||
script = """
|
||||
package=retrowin32
|
||||
"${COOKBOOK_CARGO}" build \
|
||||
--manifest-path "${COOKBOOK_SOURCE}/Cargo.toml" \
|
||||
--package "${package}" \
|
||||
--release
|
||||
--x86-emu
|
||||
--sdl
|
||||
mkdir -pv "${COOKBOOK_STAGE}/usr/bin"
|
||||
cp -v \
|
||||
"target/${TARGET}/release/${package}" \
|
||||
"${COOKBOOK_STAGE}/usr/bin/${package}"
|
||||
"""
|
||||
Loading…
Reference in New Issue
Block a user