modified make, fixed packages and vars

- the make helper now has distinct build stages
  - configure: is now defined in pkg.targets.configure
  - build: is now defined in pkg.targets.build
  - install: is now defined in pkg.targets.install
  - added pre-install: which is a list of targets that are looped over
before install
  - added post-instal: which is a list of targets that are looped over
after install

- removed major package level variables from vars/main.yml
  - moving those variables into actual package level variables as
defaults
  - if the values are defined they will be used instead of defaults
This commit is contained in:
Matthew Stobbs
2026-03-19 13:39:26 -06:00
parent ac0ac25bba
commit d1d556d425
10 changed files with 211 additions and 76 deletions

View File

@@ -44,42 +44,12 @@ __configured: {} # dict of configured packages
__add_to_path: [] # list of paths that should be in PATH
__var_to_env: {} # dict of variables to add to your env
# Per package variables
# cargo {{{
cargo_pkgname: cargo
# }}}
# {{{ go
go_archive_version: 1.25.6
go_archive_archmap:
arm64: arm64
aarch64: arm64
x86_64: amd64
go_archive_url_base: https://go.dev/dl
go_archive_sums:
1.25.6:
Darwin:
amd64: sha256:e2b5b237f5c262931b8e280ac4b8363f156e19bfad5270c099998932819670b7
arm64: sha256:984521ae978a5377c7d782fd2dd953291840d7d3d0bd95781a1f32f16d94a006
Linux:
amd64: sha256:f022b6aad78e362bcba9b0b94d09ad58c5a70c6ba3b7582905fababf5fe0181a
arm64: sha256:738ef87d79c34272424ccdf83302b7b0300b8b096ed443896089306117943dd5
FreeBSD:
amd64: sha256:61e1d50e332359474ff6dcf4bc0bd34ba2d2cf4ef649593a5faa527f0ab84e2b
arm64: sha256:648484146702dd58db0e2c3d15bda3560340d149ed574936e63285a823116b77
go_profile_path:
# system level variables that could change for each system
path_profile:
Linux: /etc/profile.d
FreeBSD: /etc/profile.d
go_pkgname:
RedHat: go
Debian: go
Darwin: go
FreeBSD:
default: go
1.25: go125
1.24: go124
1.23: go123
1.22: go122
# }}}
# Per package variables
# neovim {{{
neovim_version: master
neovim_build_type: Release