comparison tool_dependencies.xml @ 1:6e04cd0a5bc3 draft

Uploaded
author fubar
date Fri, 26 Jul 2013 20:48:36 -0400
parents d9b8df220fd5
children 0cdd8d3ffebc
comparison
equal deleted inserted replaced
0:d9b8df220fd5 1:6e04cd0a5bc3
1 <?xml version="1.0"?>
1 <tool_dependency> 2 <tool_dependency>
2 <package name="ghostscript" version="9.07"> 3 <package name="package_r3" version="3.0.1">
3 <install version="1.0"> 4 <install version="1.0">
4 <actions> 5 <actions>
6 <action type="download_by_url">http://cran.ms.unimelb.edu.au/src/base/R-3/R-3.0.1.tar.gz</action>
7 <action type="set_environment_for_install">
8 <repository changeset_revision="1301ec7705a8" name="package_readline_6_2" owner="boris" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu/">
9 <package name="readline" version="6.2" />
10 </repository>
11 </action>
5 <action type="make_directory">$INSTALL_DIR</action> 12 <action type="make_directory">$INSTALL_DIR</action>
6 <action type="download_by_url">http://downloads.ghostscript.com/public/ghostscript-9.07.tar.gz</action> 13 <action type="shell_command">./configure --with-blas --with-lapack --enable-R-shlib --with-x=no --prefix=$INSTALL_DIR &amp;&amp; make &amp;&amp; make install</action>
7 <action type="shell_command">./configure --prefix=$INSTALL_DIR</action> 14
8 <action type="shell_command">make</action> 15 <action type="download_by_url">http://cran.r-project.org/src/contrib/stringr_0.6.2.tar.gz</action>
9 <action type="shell_command">make install</action> 16 <action type="shell_command"> export PATH=$INSTALL_DIR/lib/R/bin:$PATH &amp;&amp;
17 export R_HOME=$INSTALL_DIR/lib/R &amp;&amp;
18 export R_LIBS=$INSTALL_DIR/lib/R/library &amp;&amp;
19 R CMD INSTALL stringr_0.6.2.tar.gz -l $INSTALL_DIR </action>
20 <action type="download_by_url">http://cran.r-project.org/src/contrib/gplots_2.11.3.tar.gz</action>
21 <action type="shell_command"> export PATH=$INSTALL_DIR/lib/R/bin:$PATH &amp;&amp;
22 export R_HOME=$INSTALL_DIR/lib/R &amp;&amp;
23 export R_LIBS=$INSTALL_DIR/lib/R/library &amp;&amp;
24 R CMD INSTALL gplots_2.11.3.tar.gz -l $INSTALL_DIR </action>
10 <action type="set_environment"> 25 <action type="set_environment">
11 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable> 26 <environment_variable action="set_to" name="R_HOME">$INSTALL_DIR/lib/R</environment_variable>
27 <environment_variable action="set_to" name="R_LIBS">$INSTALL_DIR/lib/R/library</environment_variable>
28 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/lib/R/bin</environment_variable>
12 </action> 29 </action>
13 </actions> 30 </actions>
14 </install> 31 </install>
15 <readme> ghostscript needed for compressing pdfs 32 <readme>Modified from an older version of R by Boris by Ross Lazarus for R 3.0
16 </readme> 33 Silly having melbourne CRAN hardwired but that's what I test with.
34 Be nice to have interactive variables for fabric installs.
35 R is a free software environment for statistical computing and graphics
36 WARNING: See custom compilation options above
37 Note I've also added some R dependencies
38 </readme>
17 </package> 39 </package>
18 </tool_dependency> 40 </tool_dependency>