view tool_dependencies.xml @ 2:e867b1554ad6 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_sailfish_0_7_5 commit bd736b6361ba659a1251dd1a1a05f7e3b633bdf5
author iuc
date Tue, 22 Dec 2015 19:37:57 -0500
parents 6525d4e5a18a
children
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="sailfish" version="0.7.5">
        <install version="1.0">
            <actions_group>
                <actions architecture="x86_64" os="linux">
                    <action type="download_by_url">https://github.com/kingsfordgroup/sailfish/releases/download/v0.7.5/SailfishBeta-0.7.5_Linux-x86-64.tar.gz</action>
                    <action type="move_directory_files">
                        <source_directory>.</source_directory>
                        <destination_directory>$INSTALL_DIR</destination_directory>
                    </action>
                    <action type="set_environment">
                        <environment_variable action="append_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/lib/</environment_variable>
                        <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
                    </action>
                </actions>
                <actions architecture="x86_64" os="darwin">
                    <action type="download_by_url">https://github.com/kingsfordgroup/sailfish/releases/download/v0.7.5/SailfishBeta-0.7.5_OSX_10.10.tar.gz</action>
                    <action type="move_directory_files">
                        <source_directory>.</source_directory>
                        <destination_directory>$INSTALL_DIR</destination_directory>
                    </action>
                    <action type="set_environment">
                        <environment_variable action="append_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/lib/</environment_variable>
                        <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
                    </action>
                </actions>
                <actions>
                    <!-- first action is always downloading -->
                    <action type="download_by_url">https://github.com/kingsfordgroup/sailfish/archive/v0.7.5.tar.gz</action>
                    <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>
                    <!-- populate the environment variables from the dependend repos -->
                    <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>

                    <!-- PYTHONPATH_NUMPY is set in the numpy package -->
                    <action type="shell_command">
                        mkdir build &amp;&amp;
                        cd build &amp;&amp;
                        cmake .. -DBOOST_ROOT=$BOOST_ROOT_DIR -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR</action>
                    <action type="shell_command">cd ./build &amp;&amp; make </action>
                    <action type="shell_command">cd ./build &amp;&amp; make install</action>
                    <action type="set_environment">
                        <environment_variable action="append_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/lib/</environment_variable>
                        <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
                        <environment_variable action="append_to" name="LD_LIBRARY_PATH">$ENV[BOOST_ROOT_DIR]/lib/</environment_variable>
                    </action>
                </actions>
            </actions_group>
        </install>
        <readme>Compiling sailfish requires cmake and C++11 compiler (usually gcc).</readme>
    </package>
</tool_dependency>