0
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
2
|
3 <package name="atlas" version="3.10.1">
|
|
4 <repository changeset_revision="25dc49b0d6d5" name="package_atlas_3_10" owner="bgruening" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
|
0
|
5 </package>
|
|
6 <package name="readline" version="6.2">
|
|
7 <repository changeset_revision="b936498ae90c" name="package_readline_6_2" owner="bgruening" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
|
|
8 </package>
|
2
|
9
|
|
10 <package name="R_3_0_1" version="3.0.1">
|
0
|
11 <install version="1.0">
|
|
12 <actions>
|
2
|
13 <action type="download_by_url">http://cran.ms.unimelb.edu.au/src/base/R-3/R-3.0.1.tar.gz</action>
|
0
|
14 <action type="set_environment_for_install">
|
2
|
15 <repository changeset_revision="25dc49b0d6d5" name="package_atlas_3_10" owner="bgruening" toolshed="http://testtoolshed.g2.bx.psu.edu">
|
|
16 <package name="atlas" version="3.10.1" />
|
|
17 </repository>
|
0
|
18 <repository changeset_revision="b936498ae90c" name="package_readline_6_2" owner="bgruening" toolshed="http://testtoolshed.g2.bx.psu.edu">
|
|
19 <package name="readline" version="6.2" />
|
|
20 </repository>
|
|
21 </action>
|
|
22
|
3
|
23 <action language="cheetah" type="template_command">
|
4
|
24 #if env.get('READLINE_LIB_PATH', False):
|
|
25 export LDFLAGS=-L$env.READLINE_LIB_PATH &&
|
|
26 export CPPFLAGS=-I$env.READLINE_INCLUDE_PATH &&
|
|
27 #end if
|
|
28
|
3
|
29 #set $cmd = './configure'
|
|
30 #if env.get('ATLAS_LIB_DIR', False):
|
4
|
31 #set $cmd += ' --with-blas="-L%s -lptf77blas -lpthread -latlas" ' % $env.ATLAS_LIB_DIR
|
3
|
32 #end if
|
4
|
33
|
|
34 #set $cmd += ' --enable-R-shlib --with-x=no --with-readline=yes --prefix=%s ' % $env.INSTALL_DIR
|
|
35 $cmd
|
2
|
36 </action>
|
4
|
37 <action type="shell_command">make</action>
|
|
38 <action type="shell_command">make install</action>
|
0
|
39 <action type="set_environment">
|
2
|
40 <environment_variable action="set_to" name="R_HOME">$INSTALL_DIR/lib/R</environment_variable>
|
|
41 <environment_variable action="set_to" name="R_LIBS">$INSTALL_DIR/lib/R/library</environment_variable>
|
|
42 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/lib/R/bin</environment_variable>
|
|
43 <environment_variable action="append_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/lib/R/lib</environment_variable>
|
0
|
44 </action>
|
|
45 </actions>
|
|
46 </install>
|
2
|
47 <readme>R is a free software environment for statistical computing and graphics. http://www.r-project.org/</readme>
|
0
|
48 </package>
|
|
49 </tool_dependency>
|