view tool_dependencies.xml @ 3:c21f50b45559 draft

Uploaded
author pavlo-lutsik
date Wed, 17 Apr 2013 07:56:00 -0400
parents d1d0d07a8af4
children 24ac7f1e60f6
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <set_environment version="0.9">
        <environment_variable name="R_SCRIPTS_PATH" action="set_to">$REPOSITORY_INSTALL_DIR</environment_variable>
    </set_environment>
    <package name="R" version="3.0.0">
        <install version="0.9">
            <actions>
                <action type="download_by_url">http://CRAN.R-project.org/src/base/R-3/R-3.0.0.tar.gz</action>
                <action type="shell_command">./configure --prefix=$INSTALL_DIR --with-x=no</action>
                <action type="shell_command">make</action>
                <action type="set_environment">
                    <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
                </action>
                <action type="shell_command">R --no-save &lt;&lt;&lt; "source('http://rnbeads.mpi-inf.mpg.de')"</action>
            </actions>
        </install>
        <readme>
				You need a FORTRAN compiler or perhaps f2c in addition to a C compiler to build R.
        </readme>
    </package>
</tool_dependency>