redox/recipes/winit/recipe.sh
2022-10-01 16:57:20 -06:00

12 lines
317 B
Bash

GIT=https://gitlab.redox-os.org/redox-os/winit.git
GIT_UPSTREAM=https://github.com/rust-windowing/winit.git
BRANCH=redox-0.27
CARGOFLAGS="--example window"
function recipe_stage {
dest="$(realpath $1)"
mkdir -pv "$dest/bin"
cp -v "target/${TARGET}/release/examples/window" "$dest/bin/winit"
skip=1
}