Mercurial > repos > iuc > package_r_3_0_1
comparison tool_dependencies.xml @ 0:d2ebbabb4523 draft
initial upload
author | iuc |
---|---|
date | Mon, 23 Sep 2013 14:45:01 -0400 |
parents | |
children | cd67c3bd0d17 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:d2ebbabb4523 |
---|---|
1 <?xml version="1.0"?> | |
2 <tool_dependency> | |
3 <package name="atlas" version="3.10.1"> | |
4 <repository changeset_revision="597c0e54eded" name="package_atlas_3_10" owner="iuc" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" /> | |
5 </package> | |
6 <package name="readline" version="6.2"> | |
7 <repository changeset_revision="052e8df231ac" name="package_readline_6_2" owner="iuc" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" /> | |
8 </package> | |
9 <package name="R_3_0_1" version="3.0.1"> | |
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.1.tar.gz</action> | |
13 <action type="set_environment_for_install"> | |
14 <repository changeset_revision="597c0e54eded" name="package_atlas_3_10" owner="iuc" toolshed="http://toolshed.g2.bx.psu.edu"> | |
15 <package name="atlas" version="3.10.1" /> | |
16 </repository> | |
17 <repository changeset_revision="052e8df231ac" name="package_readline_6_2" owner="iuc" toolshed="http://toolshed.g2.bx.psu.edu"> | |
18 <package name="readline" version="6.2" /> | |
19 </repository> | |
20 </action> | |
21 | |
22 <action language="cheetah" type="template_command"> | |
23 #set $cmd = './configure' | |
24 #if env.get('ATLAS_LIB_DIR', False): | |
25 #set $cmd += ' --with-blas="-L%s -lptf77blas -lpthread -latlas" ' % $env.ATLAS_LIB_DIR | |
26 #end if | |
27 | |
28 #if env.get('READLINE_LIB_PATH', False): | |
29 export LDFLAGS=-L$env.READLINE_LIB_PATH && | |
30 export CPPFLAGS=-I$env.READLINE_INCLUDE_PATH && | |
31 #set $cmd += ' --with-readline=yes ' | |
32 #else: | |
33 #set $cmd += ' --with-readline=no ' | |
34 #end if | |
35 | |
36 #set $cmd += ' --enable-R-shlib --with-x=no --libdir=%s/lib/ --bindir=%s/bin/ --datarootdir=%s/share/' % ($env.INSTALL_DIR, $env.INSTALL_DIR, $env.INSTALL_DIR) | |
37 $cmd | |
38 </action> | |
39 <action type="shell_command">make</action> | |
40 <action type="shell_command">make install</action> | |
41 <action type="set_environment"> | |
42 <environment_variable action="set_to" name="R_HOME">$INSTALL_DIR/lib/R</environment_variable> | |
43 <environment_variable action="set_to" name="R_LIBS">$INSTALL_DIR/lib/R/library</environment_variable> | |
44 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/lib/R/bin</environment_variable> | |
45 <environment_variable action="append_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/lib/R/lib</environment_variable> | |
46 <environment_variable action="set_to" name="RHOME">$INSTALL_DIR/lib/R</environment_variable> | |
47 <environment_variable action="set_to" name="R_PATH">$INSTALL_DIR/lib/R/bin</environment_variable> | |
48 </action> | |
49 </actions> | |
50 </install> | |
51 <readme>R is a free software environment for statistical computing and graphics. http://www.r-project.org/</readme> | |
52 </package> | |
53 </tool_dependency> |