view tool_dependencies.xml @ 0:8e7baa602cec draft default tip

Initial version
author lparsons
date Fri, 26 Sep 2014 15:02:50 -0400
parents
children
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="rseqc" version="2.4">
        <install version = "1.0">
            <actions>
                <action type="download_by_url">http://sourceforge.net/projects/rseqc/files/RSeQC-2.4.tar.gz</action>
                <!-- <action type="set_environment_for_install">
                    <repository name="package_r_3_0_3" owner="iuc">
                        <package name="R" version="3.0.3" />
                    </repository>
                   <repository name="package_numpy_1_7" owner="iuc">
                        <package name="numpy" version="1.7" />
                    </repository>
                </action>
                -->
                <!-- Not sure why these must be made apriori, but install fails otherwise -->
                <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 &amp;&amp; python setup.py install --install-lib $INSTALL_DIR/lib/python --install-scripts $INSTALL_DIR/bin</action>
                <action type="set_environment">
                    <environment_variable name="PYTHONPATH" action="prepend_to">$INSTALL_DIR/lib/python</environment_variable>
                    <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
                </action>
            </actions>
        </install>
        <readme>
            RSeQC version 2.4, documentation available at http://rseqc.sourceforge.net/.
            Requires gcc and python 2.7.
        </readme>
    </package>
</tool_dependency>