From 87a27b7319c4529b1f38c26499824acdd10e1900 Mon Sep 17 00:00:00 2001 From: Jeremy Soller <jeremy@system76.com> Date: Mon, 31 Dec 2018 15:52:23 -0700 Subject: [PATCH] Add cpal recipe --- recipes/cpal/recipe.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 recipes/cpal/recipe.sh diff --git a/recipes/cpal/recipe.sh b/recipes/cpal/recipe.sh new file mode 100644 index 000000000..2ffe7617c --- /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 +} -- GitLab