Files
RedBear-OS/local/recipes/dev/cubl/recipe.toml
T
vasilito 3622c7b8ec feat: yay-style dependency resolution (topological sort, providers, circular detection)
- depresolve.rs: resolve_build_order() with iterative topological sort
- Provider resolution for virtual packages
- Circular dependency detection and component extraction
- resolve_deps_recursive() for AUR→Redox recursive resolution
- 4 tests: linear, circular, providers, make deps
2026-05-08 11:17:07 +01:00

20 lines
463 B
TOML

[source]
same_as = "../../system/cub"
[build]
template = "custom"
dev-dependencies = ["host:rust"]
script = """
DYNAMIC_INIT
cd "${COOKBOOK_SOURCE}/source"
cargo build --release --target x86_64-unknown-linux-gnu -p cub-cli
mkdir -p "${COOKBOOK_STAGE}/usr/bin"
cp target/x86_64-unknown-linux-gnu/release/cub "${COOKBOOK_STAGE}/usr/bin/cub"
chmod +x "${COOKBOOK_STAGE}/usr/bin/cubl"
"""
[package]
description = "Cub package manager for Linux build host (cubl)"