view tool_dependencies.xml @ 13:6828af00686c draft

Uploaded
author davidvanzessen
date Fri, 27 Sep 2013 06:12:29 -0400
parents ffcf8f90ad86
children 66be861946f8
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <set_environment version="1.0">
        <environment_variable name="R_SCRIPT_PATH" action="set_to">$REPOSITORY_INSTALL_DIR</environment_variable>   
    </set_environment>
    <package name="R" version="2.15.1">
        <install version="1.0">
            <actions>
                <action type="download_by_url">http://CRAN.R-project.org/src/base/R-2/R-2.15.1.tar.gz</action>
                <action type="shell_command">./configure --prefix=$INSTALL_DIR</action>
                <action type="shell_command">make</action>
                
                <action type="download_file">http://cran.r-project.org/src/contrib/gridExtra_0.9.1.tar.gz</action>
                <action type="move_file">
					<source>gridExtra_0.9.1.tar.gz</source>
					<destination>$INSTALL_DIR</destination>
                </action>
                <action type="shell_command">$INSTALL_DIR/bin/R CMD INSTALL $INSTALL_DIR/gridExtra_0.9.1.tar.gz</action>
                
                <action type="download_file">http://cran.r-project.org/src/contrib/ggplot2_0.9.3.1.tar.gz</action>
				<action type="move_file">
					<source>ggplot2_0.9.3.1.tar.gz</source>
					<destination>$INSTALL_DIR</destination>
                </action>
                <action type="shell_command">$INSTALL_DIR/bin/R CMD INSTALL $INSTALL_DIR/ggplot2_0.9.3.1.tar.gz</action>
                
                <action type="download_file">http://cran.r-project.org/src/contrib/plyr_1.8.tar.gz</action>
                <action type="move_file">
					<source>plyr_1.8.tar.gz</source>
					<destination>$INSTALL_DIR</destination>
                </action>
                <action type="shell_command">$INSTALL_DIR/bin/R CMD INSTALL $INSTALL_DIR/plyr_1.8.tar.gz</action>
                
                
                <action type="set_environment">
                    <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
                </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>