|
0
|
1 <?xml version="1.0"?>
|
|
|
2 <tool_dependency>
|
|
|
3 <package name="readline" version="6.2">
|
|
10
|
4 <repository changeset_revision="246f31787ca1" name="package_readline_6_2" owner="iuc" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
|
|
11
|
5 </package>
|
|
5
|
6 <package name="ncurses" version="5.9">
|
|
|
7 <repository changeset_revision="f62fa47b852d" name="package_ncurses_5_9" owner="iuc" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
|
|
0
|
8 </package>
|
|
12
|
9 <package name="r302" version="3.0.2">
|
|
0
|
10 <install version="1.0">
|
|
|
11 <actions>
|
|
|
12 <action type="download_by_url">http://cran.ms.unimelb.edu.au/src/base/R-3/R-3.0.2.tar.gz</action>
|
|
|
13 <action type="set_environment_for_install">
|
|
10
|
14 <repository changeset_revision="246f31787ca1" name="package_readline_6_2" owner="iuc" toolshed="http://testtoolshed.g2.bx.psu.edu">
|
|
0
|
15 <package name="readline" version="6.2" />
|
|
|
16 </repository>
|
|
5
|
17 <repository changeset_revision="f62fa47b852d" name="package_ncurses_5_9" owner="iuc" toolshed="http://testtoolshed.g2.bx.psu.edu">
|
|
|
18 <package name="ncurses" version="5.9" />
|
|
|
19 </repository>
|
|
0
|
20 </action>
|
|
10
|
21
|
|
5
|
22 <action type="shell_command">
|
|
10
|
23 ./configure CPPFLAGS=-I$READLINE_INCLUDE_PATH LDFLAGS="-L$READLINE_LIB_PATH -L$NCURSES_LIB_PATH -lreadline -lncurses" --enable-R-shlib --with-x=no --libdir=$INSTALL_DIR/lib/ --prefix=$INSTALL_DIR --datarootdir=$INSTALL_DIR/share/
|
|
5
|
24 </action>
|
|
10
|
25 <action type="shell_command">make</action>
|
|
|
26 <action type="shell_command">make install</action>
|
|
0
|
27 <action type="set_environment">
|
|
|
28 <environment_variable action="set_to" name="R_HOME">$INSTALL_DIR/lib/R</environment_variable>
|
|
|
29 <environment_variable action="set_to" name="R_LIBS">$INSTALL_DIR/lib/R/library</environment_variable>
|
|
10
|
30 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/lib/R/bin</environment_variable>
|
|
5
|
31 <environment_variable action="append_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/lib/R/lib</environment_variable>
|
|
|
32 <environment_variable action="set_to" name="RHOME">$INSTALL_DIR/lib/R</environment_variable>
|
|
10
|
33 <environment_variable action="set_to" name="R_PATH">$INSTALL_DIR/lib/R/bin</environment_variable>
|
|
0
|
34 </action>
|
|
|
35 </actions>
|
|
|
36 </install>
|
|
10
|
37 <readme>R is a free software environment for statistical computing and graphics. http://www.r-project.org/</readme>
|
|
0
|
38 </package>
|
|
|
39 </tool_dependency>
|