comparison tool_dependencies.xml @ 0:a6b5d3d4825c draft

planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit d7ca394c8959cf2a0d9c38fa4de309be99c73280-dirty
author yhoogstrate
date Thu, 31 Mar 2016 03:43:23 -0400
parents
children f4981e860e2c
comparison
equal deleted inserted replaced
-1:000000000000 0:a6b5d3d4825c
1 <?xml version="1.0"?>
2 <tool_dependency>
3 <package name="boost" version="1.57">
4 <repository changeset_revision="a0dd39685fce" name="package_boost_1_57" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
5 </package>
6
7 <package name="cmake" version="3.2.3">
8 <repository changeset_revision="1aea698a1c63" name="package_cmake_3_2_3" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
9 </package>
10
11 <package name="python" version="2.7.10">
12 <repository changeset_revision="0339c4a9b87b" name="package_python_2_7_10" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
13 </package>
14
15 <package name="segmentation-fold" version="1.6.2">
16 <install version="1.0">
17 <actions>
18 <action sha256sum="6c7c1e21413a9841fd4822e1ff85e3b44a7684117617e1388c515475f7c1869b" type="download_by_url">https://github.com/yhoogstrate/segmentation-fold/archive/v1.6.3.tar.gz</action>
19
20 <action type="set_environment_for_install">
21 <repository changeset_revision="a0dd39685fce" name="package_boost_1_57" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
22 <package name="boost" version="1.57" />
23 </repository>
24 </action>
25
26 <action type="set_environment_for_install">
27 <repository changeset_revision="1aea698a1c63" name="package_cmake_3_2_3" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
28 <package name="cmake" version="3.2.3" />
29 </repository>
30 </action>
31
32 <action type="shell_command">
33 cmake -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR . &amp;&amp;
34 make &amp;&amp;
35 make check &amp;&amp;
36 make install
37 </action>
38
39 <!-- Also install the python utils -->
40 <action type="set_environment_for_install">
41 <repository changeset_revision="0339c4a9b87b" name="package_python_2_7_10" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
42 <package name="python" version="2.7.10" />
43 </repository>
44 </action>
45 <action type="make_directory">$INSTALL_DIR/lib/python</action>
46 <action type="make_directory">$INSTALL_DIR/lib64/python</action>
47 <action type="shell_command">
48 export PYTHONPATH="$PYTHONPATH:$INSTALL_DIR/lib/python:$INSTALL_DIR/lib64/python" &amp;&amp;
49 cd scripts/energy-estimation-utility &amp;&amp;
50 python setup.py install --home "$INSTALL_DIR" --install-scripts "$INSTALL_DIR/bin"
51 </action>
52
53 <action type="set_environment">
54 <environment_variable action="append_to" name="PYTHONPATH">$INSTALL_DIR/lib/python:$INSTALL_DIR/lib64/python</environment_variable>
55 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
56 <environment_variable action="set_to" name="SEGMENTATION_FOLD_DEFAULT_XML">$INSTALL_DIR/share/segmentation-fold/segments.xml</environment_variable>
57 </action>
58 </actions>
59 </install>
60 <readme>
61 Installation of segmentation-fold requires:
62 - libboost (via toolshed)
63 - CMake (via toolshed)
64 - Python (for energy utils) (via toolshed)
65 - c++11 compliant compiler: g++ or clang
66 </readme>
67 </package>
68 </tool_dependency>