diff --git a/recipes/core/base/recipe.toml b/recipes/core/base/recipe.toml index dd4775c60..1c3a1edab 100644 --- a/recipes/core/base/recipe.toml +++ b/recipes/core/base/recipe.toml @@ -1,8 +1,16 @@ -[source] -git = "https://gitlab.redox-os.org/redox-os/base.git" +#[source] +#git = "https://gitlab.redox-os.org/redox-os/base.git" [build] template = "custom" script = """ -# FIXME(bjorn3) fill in +mkdir -pv "${COOKBOOK_STAGE}/usr/bin" +for package in ipcd ptyd; do + "${COOKBOOK_CARGO}" build \ + --manifest-path "${COOKBOOK_SOURCE}/${package}/Cargo.toml" \ + ${build_flags} + cp -v \ + "target/${TARGET}/${build_type}/${package}" \ + "${COOKBOOK_STAGE}/usr/bin/${package}" +done """ diff --git a/recipes/core/ipcd/recipe.toml b/recipes/core/ipcd/recipe.toml deleted file mode 100644 index 308574d29..000000000 --- a/recipes/core/ipcd/recipe.toml +++ /dev/null @@ -1,5 +0,0 @@ -[source] -git = "https://gitlab.redox-os.org/redox-os/ipcd.git" - -[build] -template = "cargo" diff --git a/recipes/core/ptyd/recipe.toml b/recipes/core/ptyd/recipe.toml deleted file mode 100644 index 6984bbd95..000000000 --- a/recipes/core/ptyd/recipe.toml +++ /dev/null @@ -1,5 +0,0 @@ -[source] -git = "https://gitlab.redox-os.org/redox-os/ptyd.git" - -[build] -template = "cargo"