11
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
|
3 <package name="package_r3" version="3.0.1">
|
|
4 <install version="1.0">
|
|
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>
|
|
12 <action type="make_directory">$INSTALL_DIR</action>
|
|
13 <action type="shell_command">./configure --with-blas --with-lapack --enable-R-shlib --with-x=no --prefix=$INSTALL_DIR && make && make install</action>
|
17
|
14 <action type="set_environment">
|
|
15 <environment_variable action="set_to" name="R_HOME">$INSTALL_DIR/lib/R</environment_variable>
|
|
16 <environment_variable action="set_to" name="R_LIBS">$INSTALL_DIR/lib/R/library</environment_variable>
|
|
17 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/lib/R/bin</environment_variable>
|
|
18 </action>
|
11
|
19 </actions>
|
|
20 </install>
|
|
21 <readme>Modified from an older version of R by Boris by Ross Lazarus for R 3.0
|
|
22 Silly having melbourne CRAN hardwired but that's what I test with.
|
|
23 Be nice to have interactive variables for fabric installs.
|
|
24 R is a free software environment for statistical computing and graphics
|
|
25 WARNING: See custom compilation options above
|
12
|
26 Note I've also added some R dependencies
|
11
|
27 </readme>
|
|
28 </package>
|
|
29 </tool_dependency>
|