Mercurial > repos > yhoogstrate > package_segmentation_fold_1_6_5
changeset 0:5ca5075b1f49 draft
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 879dad538d7c2fa8b7e7f3e9460ff88874797d2c-dirty
author | yhoogstrate |
---|---|
date | Wed, 18 May 2016 10:59:25 -0400 |
parents | |
children | fca872e2150a |
files | tool_dependencies.xml |
diffstat | 1 files changed, 68 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool_dependencies.xml Wed May 18 10:59:25 2016 -0400 @@ -0,0 +1,68 @@ +<?xml version="1.0"?> +<tool_dependency> + <package name="boost" version="1.57"> + <repository changeset_revision="bd65814f17c5" name="package_boost_1_57" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" /> + </package> + + <package name="cmake" version="3.2.3"> + <repository changeset_revision="2da7b99cb1a1" name="package_cmake_3_2_3" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" /> + </package> + + <package name="python" version="2.7.10"> + <repository changeset_revision="a28e3c30828d" name="package_python_2_7_10" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" /> + </package> + + <package name="segmentation-fold" version="1.6.5"> + <install version="1.0"> + <actions> + <action sha256sum="f7dfbc70313aa2502dd35692f33bf06ef32c17594a526ea054cf369837aad794" type="download_by_url">https://github.com/yhoogstrate/segmentation-fold/archive/3cce35ab2265caf186c492764afb5a71ae55d80d.tar.gz</action> + + <action type="set_environment_for_install"> + <repository changeset_revision="bd65814f17c5" name="package_boost_1_57" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu"> + <package name="boost" version="1.57" /> + </repository> + </action> + + <action type="set_environment_for_install"> + <repository changeset_revision="2da7b99cb1a1" name="package_cmake_3_2_3" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu"> + <package name="cmake" version="3.2.3" /> + </repository> + </action> + + <action type="shell_command"> + cmake -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR . && + make && + make check && + make install + </action> + + <!-- Also install the python utils --> + <action type="set_environment_for_install"> + <repository changeset_revision="a28e3c30828d" name="package_python_2_7_10" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu"> + <package name="python" version="2.7.10" /> + </repository> + </action> + <action type="make_directory">$INSTALL_DIR/lib/python</action> + <action type="make_directory">$INSTALL_DIR/lib64/python</action> + <action type="shell_command"> + export PYTHONPATH="$PYTHONPATH:$INSTALL_DIR/lib/python:$INSTALL_DIR/lib64/python" && + cd scripts/energy-estimation-utility && + python setup.py install --home "$INSTALL_DIR" --install-scripts "$INSTALL_DIR/bin" + </action> + + <action type="set_environment"> + <environment_variable action="append_to" name="PYTHONPATH">$INSTALL_DIR/lib/python:$INSTALL_DIR/lib64/python</environment_variable> + <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable> + <environment_variable action="set_to" name="SEGMENTATION_FOLD_DEFAULT_XML">$INSTALL_DIR/share/segmentation-fold/segments.xml</environment_variable> + </action> + </actions> + </install> + <readme> + Installation of segmentation-fold requires: + - libboost (via toolshed) + - CMake (via toolshed) + - Python (for energy utils) (via toolshed) + - c++11 compliant compiler: g++ or clang + </readme> + </package> +</tool_dependency>