Skip to content
Snippets Groups Projects
Commit 9631b402 authored by Bertrand  NÉRON's avatar Bertrand NÉRON
Browse files

install palm-x via gensoft instead by hand

parent 081787ca
No related branches found
No related tags found
No related merge requests found
--- ---
- name: set paml prefix
set_fact:
paml_prefix: /usr/local
- name: Install PAML - name: Install PAML
yum: yum:
name: gensoft-paml-4.9e name: gensoft-paml-4.9e
state: installed state: latest
- name: install PAML-X dependencies - name: install PAML-X
yum: yum:
name: "{{ item }}" name: gensoft-pamlX-1.3.1
state: latest state: latest
with_items:
- qt-devel
- gcc-c++
- name: Create dir source for PAML-X
file:
path: "{{ paml_prefix }}/src/pamlx"
state: directory
- name: Download PAML-X
get_url:
url: http://abacus.gene.ucl.ac.uk/software/pamlX1.3.1-src.tgz
dest: "{{ paml_prefix }}/src/pamlx"
- name: Unarchive PAML-X
unarchive:
src: "{{ paml_prefix }}/src/pamlx/pamlX1.3.1-src.tgz"
dest: "{{ paml_prefix }}/src/pamlx/"
creates: "{{ paml_prefix }}/src/pamlx/pamlX1.3.1-src"
copy: no
- name: Generate Makefile for PAML-X
command: qmake-qt4 chdir="{{ paml_prefix }}/src/pamlx/pamlX1.3.1-src"
- name: Compile PAML-X
command: make chdir="{{ paml_prefix }}/src/pamlx/pamlX1.3.1-src"
- name: Install PAML-X
copy:
remote_src: yes
src: "{{ paml_prefix }}/src/pamlx/pamlX"
dest: "{{ paml_prefix }}/bin/pamlX"
mode: 755
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment