diff tool_dependencies.xml @ 12:ffcf8f90ad86 draft

Uploaded
author davidvanzessen
date Fri, 27 Sep 2013 06:11:35 -0400
parents
children 6828af00686c
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml	Fri Sep 27 06:11:35 2013 -0400
@@ -0,0 +1,43 @@
+<?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>