3bcf4cc196
Comprehensive fix — not a fallback. Each recipe now has explicit [package] section with name and version. Version inference: - Git-source recipes without rev/branch: '0.1.0' (Red Bear convention) - Tar/git recipes with version in URL or dir name: extracted version - Sysroot-copy recipes: matched to toolchain version Affected: 250+ recipes across all categories (core, libs, dev, system, kde, qt, drivers, gpu, drm, kernel, userspace, etc.) Every recipe in the redbear-mini build chain that was missing [package] now has explicit version metadata. Cookbook can now always determine a version at packaging time, eliminating 'cannot guess version' failures. No cookbook fallback hack — the source of truth is recipe metadata.
31 lines
690 B
TOML
31 lines
690 B
TOML
[package]
|
|
name = "vim"
|
|
version = "9.1.0821"
|
|
|
|
[source]
|
|
tar = "https://github.com/vim/vim/archive/refs/tags/v9.1.0821.tar.gz"
|
|
blake3 = "d1f5802ceb047b09143f1764bf4016f084cf7e6c026c7047919264c9f262a5dd"
|
|
patches = ["vim.patch"]
|
|
|
|
[build]
|
|
dependencies = ["ncursesw"]
|
|
template = "custom"
|
|
script = """
|
|
DYNAMIC_INIT
|
|
rsync -av --delete "${COOKBOOK_SOURCE}/" ./
|
|
|
|
export vim_cv_toupper_broken=no
|
|
export vim_cv_tgetent=zero
|
|
export vim_cv_terminfo=yes
|
|
export vim_cv_tty_group=world
|
|
export vim_cv_getcwd_broken=no
|
|
export vim_cv_stat_ignores_slash=yes
|
|
export vim_cv_memmove_handles_overlap=yes
|
|
|
|
COOKBOOK_CONFIGURE="./configure"
|
|
COOKBOOK_CONFIGURE_FLAGS+=(
|
|
--with-tlib=ncursesw
|
|
)
|
|
cookbook_configure
|
|
"""
|