updated src builds

This commit is contained in:
Matthew Stobbs
2025-03-16 20:17:28 -06:00
parent 43f539253f
commit bfd3afd353
20 changed files with 128 additions and 128 deletions

View File

@@ -1,4 +1,4 @@
- name: Remove existing install
- name: Remove existing install {{ pkg }}
when:
- sdbus_cpp_2.clean
become: true
@@ -9,16 +9,16 @@
state: absent
path: "{{ sdbus_cpp_2.prefix }}/{{ file }}"
- name: Check if sdbus-cpp-2 is installed
- name: Check for installed {{ pkg }}
register: stat_sdbus_cpp_2_inst
ansible.builtin.stat:
path: "{{ sdbus_cpp_2.prefix }}/{{ lib_path }}/libsdbus-c++.so"
- name: Build and install sdbus-cpp-2
- name: Build and install {{ pkg }}
when:
- not stat_sdbus_cpp_2_inst.stat.exists
block:
- name: Clone git repository
- name: Clone git repository {{ pkg }}
ansible.builtin.git:
depth: 1
recursive: true
@@ -26,7 +26,7 @@
repo: "{{ sdbus_cpp_2.repo }}"
version: "{{ sdbus_cpp_2.vers }}"
- name: Configure sdbus-cpp-2
- name: Configure {{ pkg }}
ansible.builtin.command:
creates: "{{ sdbus_cpp_2.git_path }}/build"
chdir: "{{ sdbus_cpp_2.git_path }}"
@@ -40,7 +40,7 @@
- -B
- ./build
- name: Build sdbus-cpp-2
- name: Build {{ pkg }}
ansible.builtin.command:
creates: "{{ sdbus_cpp_2.git_path }}/build/libsdbus-c++.so"
chdir: "{{ sdbus_cpp_2.git_path }}"
@@ -55,7 +55,7 @@
- -j
- "{{ ansible_processor_nproc|int }}"
- name: Install sdbus_cpp_2
- name: Install {{ pkg }}
become: true
ansible.builtin.command:
creates: "{{ sdbus_cpp_2.prefix }}/{{ lib_path }}/libsdbus-c++.so"