diff --git a/recipes/cpal/recipe.sh b/recipes/cpal/recipe.sh new file mode 100644 index 0000000000000000000000000000000000000000..2ffe7617c28fe1786555c0bb58d2054271758205 --- /dev/null +++ b/recipes/cpal/recipe.sh @@ -0,0 +1,11 @@ +GIT=https://gitlab.redox-os.org/redox-os/cpal.git +GIT_UPSTREAM=https://github.com/tomaka/cpal.git +BRANCH=redox +CARGOFLAGS="--example beep" + +function recipe_stage { + dest="$(realpath $1)" + mkdir -pv "$dest/bin" + cp -v "target/${TARGET}/release/examples/beep" "$dest/bin/cpal" + skip=1 +}