0
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
|
3 <package name="R" version="3.1.2">
|
|
4 <install version="1.0">
|
|
5 <actions_group>
|
|
6 <actions architecture="x86_64" os="linux">
|
|
7 <action sha256sum="586dde39d6821bcc5079004450f5d19f836a26d4554083c7add3933f071451e0" type="download_by_url">https://depot.galaxyproject.org/software/r/r_3.1.2_linux_x64.tar.gz</action>
|
|
8 <action type="move_directory_files">
|
|
9 <source_directory>.</source_directory>
|
|
10 <destination_directory>$INSTALL_DIR</destination_directory>
|
|
11 </action>
|
|
12 <action type="set_environment">
|
|
13 <environment_variable action="set_to" name="TCL_LIBRARY">$INSTALL_DIR/lib/libtcl8.4.so</environment_variable>
|
|
14 <environment_variable action="set_to" name="TK_LIBRARY">$INSTALL_DIR/lib/libtk8.4.so</environment_variable>
|
|
15 </action>
|
|
16 </actions>
|
|
17 <actions>
|
|
18 <action sha256sum="bcd150afcae0e02f6efb5f35a6ab72432be82e849ec52ce0bb89d8c342a8fa7a" type="download_by_url">https://cran.rstudio.com/src/base/R-3/R-3.1.2.tar.gz</action>
|
|
19 <package name="readline" version="6.2">
|
|
20 <repository changeset_revision="1007a3015bdb" name="package_readline_6_2" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
|
|
21 </package>
|
|
22 <package name="libpng" version="1.6.7">
|
|
23 <repository changeset_revision="833849e0ddfc" name="package_libpng_1_6_7" owner="devteam" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
|
|
24 </package>
|
|
25 <package name="cairo" version="1.12.14">
|
|
26 <repository changeset_revision="f1cf1dd60867" name="package_cairo_1_12_14" owner="devteam" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
|
|
27 </package>
|
|
28 <package name="pixman" version="0.32.4">
|
|
29 <repository changeset_revision="7056a708062b" name="package_pixman_0_32_4" owner="devteam" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
|
|
30 </package>
|
|
31 <package name="freetype" version="2.5.2">
|
|
32 <repository changeset_revision="34ebf47e4941" name="package_freetype_2_5_2" owner="devteam" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
|
|
33 </package>
|
|
34 <package name="ncurses" version="5.9">
|
|
35 <repository changeset_revision="ad27910a950c" name="package_ncurses_5_9" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
|
|
36 </package>
|
|
37 <package name="fontconfig" version="2.11.1">
|
|
38 <repository changeset_revision="66bcc0972d16" name="package_fontconfig_2_11_1" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
|
|
39 </package>
|
|
40 <action type="set_environment_for_install">
|
|
41 <repository changeset_revision="1007a3015bdb" name="package_readline_6_2" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu">
|
|
42 <package name="readline" version="6.2" />
|
|
43 </repository>
|
|
44 <repository changeset_revision="833849e0ddfc" name="package_libpng_1_6_7" owner="devteam" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu">
|
|
45 <package name="libpng" version="1.6.7" />
|
|
46 </repository>
|
|
47 <repository changeset_revision="f1cf1dd60867" name="package_cairo_1_12_14" owner="devteam" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu">
|
|
48 <package name="cairo" version="1.12.14" />
|
|
49 </repository>
|
|
50 <repository changeset_revision="7056a708062b" name="package_pixman_0_32_4" owner="devteam" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu">
|
|
51 <package name="pixman" version="0.32.4" />
|
|
52 </repository>
|
|
53 <repository changeset_revision="34ebf47e4941" name="package_freetype_2_5_2" owner="devteam" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu">
|
|
54 <package name="freetype" version="2.5.2" />
|
|
55 </repository>
|
|
56 <repository changeset_revision="ad27910a950c" name="package_ncurses_5_9" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu">
|
|
57 <package name="ncurses" version="5.9" />
|
|
58 </repository>
|
|
59 <repository changeset_revision="66bcc0972d16" name="package_fontconfig_2_11_1" owner="iuc" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu">
|
|
60 <package name="fontconfig" version="2.11.1" />
|
|
61 </repository>
|
|
62 </action>
|
|
63 <action type="autoconf">--with-tcltk --with-blas --with-lapack --with-readline --with-cairo --with-libpng --without-x --without-aqua --enable-R-shlib --disable-R-framework --libdir=$INSTALL_DIR/lib</action>
|
|
64 <action type="shell_command">sed -i.bak -e 's;$INSTALL_DIR;\${R_ROOT_DIR};g' $INSTALL_DIR/bin/R</action>
|
|
65 <action type="shell_command">sed -i.bak -e 's;$INSTALL_DIR;\${R_ROOT_DIR};g' $INSTALL_DIR/lib/R/bin/R</action>
|
|
66 </actions>
|
|
67 <action type="set_environment">
|
|
68 <environment_variable action="set_to" name="R_DOC_DIR">$INSTALL_DIR/lib/R/doc</environment_variable>
|
|
69 <environment_variable action="set_to" name="R_HOME_DIR">$INSTALL_DIR/lib/R</environment_variable>
|
|
70 <environment_variable action="set_to" name="R_INCLUDE_DIR">$INSTALL_DIR/lib/R/include</environment_variable>
|
|
71 <environment_variable action="set_to" name="R_SHARE_DIR">$INSTALL_DIR/lib/R/share</environment_variable>
|
|
72 <environment_variable action="set_to" name="R_ROOT_DIR">$INSTALL_DIR</environment_variable>
|
|
73 <environment_variable action="set_to" name="R_HOME">$INSTALL_DIR/lib/R</environment_variable>
|
|
74 <environment_variable action="set_to" name="RHOME">$INSTALL_DIR/lib/R</environment_variable>
|
|
75 <environment_variable action="set_to" name="R_LIBS">$INSTALL_DIR/lib/R/library</environment_variable>
|
|
76 <!-- Include library with local rJava installation -->
|
|
77 <environment_variable action="prepend_to" name="R_LIBS">/usr/lib/R/site-library</environment_variable>
|
|
78 <!-- Set JAVA_HOME & LD_LIBRARY_PATH -->
|
|
79 <environment_variable action="set_to" name="JAVA_HOME">/usr/lib/jvm/java-8-openjdk-amd64/jre</environment_variable>
|
|
80 <environment_variable action="set_to" name="LD_LIBRARY_PATH">/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server</environment_variable>
|
|
81 <!-- Set FONTCONFIG_PATH for R png output -->
|
|
82 <environment_variable action="set_to" name="FONTCONFIG_PATH">$INSTALL_DIR/etc/fonts</environment_variable>
|
|
83 <environment_variable action="set_to" name="PKG_CONFIG_DIR">$INSTALL_DIR/lib/pkgconfig:$INSTALL_DIR/share/pkgconfig</environment_variable>
|
|
84 <environment_variable action="set_to" name="PKG_CONFIG_PATH">$INSTALL_DIR/lib/pkgconfig:$INSTALL_DIR/share/pkgconfig</environment_variable>
|
|
85 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
|
|
86 <!-- Append java bin to PATH -->
|
|
87 <environment_variable action="append_to" name="PATH">$JAVA_HOME/bin</environment_variable>
|
|
88 </action>
|
|
89 </actions_group>
|
|
90 </install>
|
|
91 <readme>
|
|
92 The precompiled versions of this package were built 2014-12-21.
|
|
93 R is a free software environment for statistical computing and graphics.
|
|
94 NOTE: See custom compilation options above.
|
|
95 </readme>
|
|
96 </package>
|
|
97 </tool_dependency>
|