huntedbytheirs 159f7bfe83 feat: --follow for deps and a custom example
--follow now follows the deptree of the definition
--follow is incompatible with --all
build_system = "custom" example with build.sh
2026-08-07 15:17:47 -04:00
2026-08-06 12:54:48 -04:00
2026-08-06 12:54:48 -04:00
2026-08-06 12:54:48 -04:00

Zeta Toolchain

Package management for Zerene OS. Two tools:

Tool What
zeta-makepkg Build engine: .recipe → binary tarball + package.lua
zeta-cli Interactive wizard: prompts → .recipe file

Quick Start

# Create a recipe interactively
./cli/zeta-cli

# Build it
./builder/zeta-makepkg mypkg.recipe --output ~/zeta-packages

# Install system-wide
make install

Recipe Format

Declarative Lua — no functions, just data:

return {
  name           = "mypkg",
  version        = "1.0",
  summary        = "Short description",
  url            = "https://.../src.tar.gz",
  deps           = { "libfoo", "libbar>=2.0" },
  build_system   = "autotools",       -- autotools | cmake | meson | make | cargo | custom
  configure_args = { "--enable-x" },
  test           = "${DESTDIR}/usr/bin/mypkg --version",
}

Build systems: autotools, cmake, meson, make, cargo, custom

Structure

toolchain/
├── cli/          zeta-cli — recipe wizard
├── builder/      zeta-makepkg — build engine
├── lib/          shared Lua modules
├── examples/     example .recipe files
└── Makefile

Requirements

  • Lua 5.1+
  • curl or wget (source downloads)
  • tar, sha256sum (packaging)
  • Build tools for your chosen build_system (gcc, meson, cmake, cargo, etc.)

License

MIT

S
Description
A unofficial toolchain for easing the creation of binary packages for ZereneOS
Readme MIT
95 KiB
Languages
Lua 68%
Terra 26.4%
Shell 4.9%
Makefile 0.7%