classroom/roles/wfdb/tasks/main_lin.yml
2023-09-11 22:30:48 +02:00

28 lines
859 B
YAML

# Dobi se jo na: https://www.physionet.org/content/wfdb/10.7.0/ 1. razpakiraj arhiv 2. pojdi v direktorij. 3. poženi .-configure lahko z dodatnimi parametri glede na željeno lokacijo knjižnice 4. poženi make 5. poženi sudo make install
- name: Install libFLAC
apt:
name: libflac-dev
state: latest
- name: Install libcurl
apt:
name: libcurl4-openssl-dev
- name: Install GCC
apt:
name: gcc
- name: Install make
apt:
name: make
- name: Create WFDB destination
file:
path: /opt/wfdb
state: directory
- name: Download WFDB
unarchive:
src: https://www.physionet.org/physiotools/archives/wfdb-10.7/wfdb-10.7.0.tar.gz
dest: /opt/wfdb
creates: /opt/wfdb/wfdb-10.7.0/README
remote_src: yes
- name: Build and install WFDB
shell:
cmd: cd /opt/wfdb/wfdb-10.7.0 && ./configure && make && make install