Files
RedBear-OS/local/recipes/system/cub/source/Cargo.toml
T
vasilito 59d4ba5dcf Add CUB package builder and include in all Red Bear OS configs
CUB (Red Bear OS Package Builder) is a Rust CLI tool that combines package management and building:
- RBPKGBUILD parser (TOML format) with full spec support
- Cookbook adapter converting RBPKGBUILD to recipe.toml
- PKGBUILD (Arch AUR) to RBPKGBUILD conversion with Linuxism detection
- Dependency mapping (Arch to Redox names)
- pkgar package creation integration
- Build environment setup with Cookbook env vars
- CLI with pacman-style shortcuts: -S, -Ss, -B, -G, -Pi, -Sua, -Sc, --import-aur

28 cub-lib tests passing. cub-cli compiles with local pkgutils.
Added cub = {} to redbear-desktop, redbear-full, redbear-minimal configs.
Created recipe symlink and updated integrate-redbear.sh.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-04-12 23:51:48 +01:00

29 lines
671 B
TOML

[workspace]
resolver = "2"
members = [
"cub-lib",
"cub-cli",
]
default-members = [
"cub-cli",
]
[workspace.package]
version = "0.1.0"
description = "Red Bear OS Package Builder"
license = "MIT"
authors = ["Red Bear OS Contributors"]
repository = "https://gitlab.redox-os.org/redox-os/redox"
edition = "2021"
[workspace.dependencies]
serde = "1"
serde_derive = "1"
toml = "0.8.2"
thiserror = "2"
clap = { version = "4.3", features = ["cargo", "derive"] }
[patch.crates-io]
ring = { git = "https://gitlab.redox-os.org/redox-os/ring.git", branch = "redox-0.17.8" }
cc-11 = { git = "https://github.com/tea/cc-rs", branch="riscv-abi-arch-fix", package = "cc" }