view tool_dependencies.xml @ 0:3d76021b690e draft

Imported from capsule None
author devteam
date Thu, 23 Jan 2014 12:30:37 -0500
parents
children 4f038e0e284a
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="SICER" version="1.1">
        <install version="1.0">
            <actions>
                <action type="download_by_url">http://home.gwu.edu/~wpeng/SICER_V1.1.tgz</action>
                <action type="move_directory_files">
                    <source_directory>.</source_directory>
                    <destination_directory>$INSTALL_DIR</destination_directory>
                </action>
                <action type="shell_command">sed -i 's#PATHTO=.\+#PATHTO=$INSTALL_DIR#' $INSTALL_DIR/SICER/*.sh</action>
                <action type="shell_command">sed -i 's#SICER=.\+#SICER=$INSTALL_DIR/SICER#' $INSTALL_DIR/SICER/*.sh</action>
                <action type="chmod">
                    <file mode="755">$INSTALL_DIR/SICER/SICER.sh</file>
                </action>
                <action type="set_environment">
                    <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/SICER</environment_variable>
                </action>
            </actions>
        </install>
        <readme></readme>
    </package>
</tool_dependency>