0
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
2
|
3 <!--<package name="readline" version="6.2">
|
|
4 <repository name="package_readline_6_2" owner="iuc" prior_installation_required="True" />
|
|
5 </package>-->
|
0
|
6 <package name="R_3_0_1" version="3.0.1">
|
|
7 <install version="1.0">
|
|
8 <actions>
|
|
9 <action type="download_by_url">http://cran.ms.unimelb.edu.au/src/base/R-3/R-3.0.1.tar.gz</action>
|
2
|
10 <!--<action type="set_environment_for_install">
|
|
11 <repository name="package_readline_6_2" owner="iuc">
|
0
|
12 <package name="readline" version="6.2" />
|
3
|
13 </repository>
|
|
14 </action>-->
|
0
|
15
|
4
|
16 <action type="shell_command">
|
|
17 ./configure --with-readline=no --enable-R-shlib --with-x=no --libdir=$INSTALL_DIR/lib/ --bindir=$INSTALL_DIR/bin/ --datarootdir=$INSTALL_DIR/share/
|
0
|
18 </action>
|
|
19 <action type="shell_command">make</action>
|
|
20 <action type="shell_command">make install</action>
|
|
21 <action type="set_environment">
|
|
22 <environment_variable action="set_to" name="R_HOME">$INSTALL_DIR/lib/R</environment_variable>
|
|
23 <environment_variable action="set_to" name="R_LIBS">$INSTALL_DIR/lib/R/library</environment_variable>
|
|
24 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/lib/R/bin</environment_variable>
|
|
25 <environment_variable action="append_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/lib/R/lib</environment_variable>
|
|
26 <environment_variable action="set_to" name="RHOME">$INSTALL_DIR/lib/R</environment_variable>
|
|
27 <environment_variable action="set_to" name="R_PATH">$INSTALL_DIR/lib/R/bin</environment_variable>
|
|
28 </action>
|
|
29 </actions>
|
|
30 </install>
|
|
31 <readme>R is a free software environment for statistical computing and graphics. http://www.r-project.org/</readme>
|
|
32 </package>
|
|
33 </tool_dependency>
|