12
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
|
3 <package name="R" version="2.15.1">
|
|
4 <install version="1.0">
|
|
5 <actions>
|
|
6 <action type="download_by_url">http://CRAN.R-project.org/src/base/R-2/R-2.15.1.tar.gz</action>
|
|
7 <action type="shell_command">./configure --prefix=$INSTALL_DIR</action>
|
|
8 <action type="shell_command">make</action>
|
|
9
|
|
10 <action type="download_file">http://cran.r-project.org/src/contrib/gridExtra_0.9.1.tar.gz</action>
|
13
|
11 <action type="move_file">
|
12
|
12 <source>gridExtra_0.9.1.tar.gz</source>
|
|
13 <destination>$INSTALL_DIR</destination>
|
|
14 </action>
|
|
15 <action type="shell_command">$INSTALL_DIR/bin/R CMD INSTALL $INSTALL_DIR/gridExtra_0.9.1.tar.gz</action>
|
|
16
|
|
17 <action type="download_file">http://cran.r-project.org/src/contrib/ggplot2_0.9.3.1.tar.gz</action>
|
13
|
18 <action type="move_file">
|
12
|
19 <source>ggplot2_0.9.3.1.tar.gz</source>
|
|
20 <destination>$INSTALL_DIR</destination>
|
|
21 </action>
|
|
22 <action type="shell_command">$INSTALL_DIR/bin/R CMD INSTALL $INSTALL_DIR/ggplot2_0.9.3.1.tar.gz</action>
|
|
23
|
|
24 <action type="download_file">http://cran.r-project.org/src/contrib/plyr_1.8.tar.gz</action>
|
13
|
25 <action type="move_file">
|
12
|
26 <source>plyr_1.8.tar.gz</source>
|
|
27 <destination>$INSTALL_DIR</destination>
|
|
28 </action>
|
|
29 <action type="shell_command">$INSTALL_DIR/bin/R CMD INSTALL $INSTALL_DIR/plyr_1.8.tar.gz</action>
|
|
30
|
|
31
|
|
32 <action type="set_environment">
|
|
33 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
|
|
34 </action>
|
15
|
35 <action type="set_environment">
|
|
36 <environment_variable name="R_SCRIPT_PATH" action="set_to">$REPOSITORY_INSTALL_DIR</environment_variable>
|
|
37 </action>
|
12
|
38 </actions>
|
|
39 </install>
|
|
40 <readme>You need a FORTRAN compiler or perhaps f2c in addition to a C compiler to build R.</readme>
|
|
41 </package>
|
|
42 </tool_dependency>
|