[source] git = "https://gitlab.redox-os.org/redox-os/base.git" [build] template = "custom" script = """ mkdir -pv "${COOKBOOK_STAGE}/usr/bin" for package in audiod 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 "${COOKBOOK_CARGO}" build \ --manifest-path "${COOKBOOK_SOURCE}/netstack/Cargo.toml" \ ${build_flags} for bin in smolnetd dnsd; do cp -v \ "target/${TARGET}/${build_type}/${bin}" \ "${COOKBOOK_STAGE}/usr/bin/${bin}" done """