Squash merge move_to_single_file_pkgs into main

This commit is contained in:
Matthew Stobbs
2026-04-13 14:50:45 -06:00
parent ff740426c8
commit 8dc427f027
373 changed files with 3883 additions and 9963 deletions

View File

@@ -1,5 +1,40 @@
# vim: set filetype=yaml.ansible :
#
## Package: cmake
## Description: build system for c/c++
## Version: system
## Methods: system
## Helpers: -
---
- name: Append cmake to pkg_sys
- name: Set cmake default facts # {{
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['cmake'] }}"
cmake:
methods:
- system
pkgname: cmake
# }}
- name: Configure cmake
when:
- "'cmake' not in __configured"
block:
- name: Set cmake install method
when:
- cmake_imethod is undefined
ansible.builtin.set_fact:
cmake_imethod: "{{ imethod if imethod in cmake.methods else cmake.methods[0] }}"
- name: Configure cmake system install
when:
- cmake_imethod == "system"
block:
- name: Append cmake to pkg_sys
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + [cmake.pkgname] }}"
- name: Finalise cmake system install
ansible.builtin.set_fact:
cmake_install: "{{ cmake_imethod }}={{ cmake.pkgname }}"
- name: Finalize cmake configuration
ansible.builtin.set_fact:
__configured: "{{ __configured | combine( { 'cmake': cmake_install } ) }}"