comparison tool_dependencies.xml @ 17:98c0153c737a draft

Uploaded
author s-kaufmann
date Fri, 15 Aug 2014 10:31:26 -0400
parents a6af076506eb
children cc66a156025d
comparison
equal deleted inserted replaced
16:a6af076506eb 17:98c0153c737a
29 29
30 <set_environment version="1.0"> 30 <set_environment version="1.0">
31 <environment_variable name="R_PATH" action="set_to">$REPOSITORY_INSTALL_DIR</environment_variable> 31 <environment_variable name="R_PATH" action="set_to">$REPOSITORY_INSTALL_DIR</environment_variable>
32 </set_environment> 32 </set_environment>
33 33
34 <package name="package_r_3_0_2" version="3.0.2"> 34 <package name="readline" version="6.2">
35 <repository changeset_revision="50f7e1e71271" name="package_r_3_0_2" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" /> 35 <repository changeset_revision="052e8df231ac" name="package_readline_6_2" owner="iuc" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
36 </package> 36 </package>
37 <package name="ncurses" version="5.9">
38 <repository changeset_revision="9ed7af129bd3" name="package_ncurses_5_9" owner="iuc" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
39 </package>
40 <package name="libpng" version="1.6.7">
41 <repository changeset_revision="51f77dcf27bd" name="package_libpng_1_6_7" owner="devteam" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
42 </package>
43 <package name="R_3_0_2" version="3.0.2">
44 <install version="1.0">
45 <actions>
46 <action type="download_by_url">http://cran.ms.unimelb.edu.au/src/base/R-3/R-3.0.2.tar.gz</action>
47 <action type="set_environment_for_install">
48 <repository changeset_revision="052e8df231ac" name="package_readline_6_2" owner="iuc" toolshed="http://toolshed.g2.bx.psu.edu">
49 <package name="readline" version="6.2" />
50 </repository>
51 <repository changeset_revision="9ed7af129bd3" name="package_ncurses_5_9" owner="iuc" toolshed="http://toolshed.g2.bx.psu.edu">
52 <package name="ncurses" version="5.9" />
53 </repository>
54 <repository changeset_revision="51f77dcf27bd" name="package_libpng_1_6_7" owner="devteam" toolshed="http://toolshed.g2.bx.psu.edu">
55 <package name="libpng" version="1.6.7" />
56 </repository>
57 </action>
58
59 <action type="shell_command">
60 ./configure CPPFLAGS="-I$READLINE_INCLUDE_PATH -I${LIBPNG_ROOT}/include" LDFLAGS="-L$READLINE_LIB_PATH -L$NCURSES_LIB_PATH -L${LIBPNG_ROOT}/lib -lreadline -lncurses" --with-libpng --enable-R-shlib --with-x=no --libdir=$INSTALL_DIR/lib/ --bindir=$INSTALL_DIR --datarootdir=$INSTALL_DIR/share/
61 </action>
62
63 <action type="shell_command">make</action>
64 <action type="shell_command">make install</action>
65 <action type="set_environment">
66 <environment_variable action="set_to" name="R_HOME">$INSTALL_DIR/lib/R</environment_variable>
67 <environment_variable action="set_to" name="R_LIBS">$INSTALL_DIR/lib/R/library</environment_variable>
68 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/lib/R/bin</environment_variable>
69 <environment_variable action="append_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/lib/R/lib</environment_variable>
70 <environment_variable action="set_to" name="RHOME">$INSTALL_DIR/lib/R</environment_variable>
71 <environment_variable action="set_to" name="R_PATH">$INSTALL_DIR/lib/R/bin</environment_variable>
72 </action>
73 </actions>
74 </install>
75 <readme>R is a free software environment for statistical computing and graphics. http://www.r-project.org/</readme>
76 </package>
37 77
38 </tool_dependency> 78 </tool_dependency>