classroom/roles/linroom/tasks/wfdb.yml

29 lines
816 B
YAML

# TODO spiši skripto za install
# 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: libcurl-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
remote_src: yes
name: Build and install WFDB
shell:
cmd: cd /opt/wfdb && ./configure && make && make install