view tool_dependencies.xml @ 0:96d808a49774 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_krona_2_5 commit 8b1065673b716bdf9f78beff92ce839740ef41ba
author iuc
date Fri, 31 Jul 2015 15:37:43 -0400
parents
children
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="perl" version="5.18.1">
        <repository changeset_revision="fd34b72b501b" name="package_perl_5_18" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
    </package>
    <package name="krona" version="2.5">
        <install version="1.0">
            <actions>
                <action type="download_by_url">https://depot.galaxyproject.org/package/source/KronaTools-2.5.tar</action>
                <action type="set_environment_for_install">
                    <repository changeset_revision="fd34b72b501b" name="package_perl_5_18" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu">
                        <package name="perl" version="5.18.1" />
                    </repository>
                </action>
                <action type="move_directory_files">
                    <source_directory>lib</source_directory>
                    <destination_directory>$INSTALL_DIR/lib</destination_directory>
                </action>
                <action type="move_directory_files">
                    <source_directory>scripts</source_directory>
                    <destination_directory>$INSTALL_DIR/scripts</destination_directory>
                </action>
                <action type="move_directory_files">
                    <source_directory>img</source_directory>
                    <destination_directory>$INSTALL_DIR/img</destination_directory>
                </action>
                <action type="move_directory_files">
                    <source_directory>src</source_directory>
                    <destination_directory>$INSTALL_DIR/src</destination_directory>
                </action>
                <action type="make_directory">$INSTALL_DIR/bin</action>
                <action type="shell_command">
                    for i in ClassifyBLAST GetContigMagnitudes GetLibPath GetTaxIDFromGI \
                            ImportBLAST ImportDiskUsage ImportEC ImportFCP ImportGalaxy \
                            ImportMETAREP-BLAST ImportMETAREP-EC ImportMGRAST ImportPhymmBL \
                            ImportRDP ImportRDPComparison ImportTaxonomy ImportText ImportXML ; do
                        ln -s $INSTALL_DIR/scripts/$i.pl $INSTALL_DIR/bin/kt$i
                    done
                </action>
                <action type="set_environment">
                    <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
                    <environment_variable action="prepend_to" name="PERL5LIB">$INSTALL_DIR/lib</environment_variable> 
                </action>
            </actions>
        </install>
        <readme />
    </package>
</tool_dependency>