view tool_dependencies.xml @ 2:5f0f9a9b59e3 draft

Add package reqguirement for KronaTools
author Jim Johnson <jj@umn.edu>
date Mon, 29 Oct 2012 14:10:07 -0500
parents 53258f6dddd3
children 3398919bc103
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="KronaTools" version="2.2">
        <install version="1.0">
            <actions>
                <action type="download_by_url">http://sourceforge.net/projects/krona/files/KronaTools%20%28Mac%2C%20Linux%29/KronaTools-2.2.tar</action>
                <!-- Instaead of $INSTALL_DIR/  this could be in a data dir -->
                <action type="make_directory">$INSTALL_DIR/taxonomy</action>
                <action type="shell_command">perl install.pl --prefix $INSTALL_DIR --taxonomy $INSTALL_DIR/taxonomy</action>
                <action type="shell_command">./updateTaxonomy.sh</action>
                <!-- copy javascript to galaxy/static/krona/ dir 
                <action type="shell_command">./deployResources.sh /static/krona</action>
                -->
                <action type="set_environment">
                    <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
                </action>
            </actions>
        </install>
        <readme>http://sourceforge.net/p/krona/home/krona/</readme>
    </package>
</tool_dependency>