comparison tool_dependencies.xml @ 0:58e440afb545 draft

Imported from capsule None
author devteam
date Mon, 17 Mar 2014 09:10:13 -0400
parents
children 933ba62d2f11
comparison
equal deleted inserted replaced
-1:000000000000 0:58e440afb545
1 <?xml version="1.0"?>
2 <tool_dependency>
3 <package name="R" version="3.0.3">
4 <install version="1.0">
5 <actions_group>
6 <actions architecture="x86_64" os="darwin">
7 <action type="download_by_url">http://depot.galaxyproject.org/package/darwin/x86_64/R/R-3.0.3-Darwin-x86_64.tgz</action>
8 <action type="move_directory_files">
9 <source_directory>.</source_directory>
10 <destination_directory>$INSTALL_DIR</destination_directory>
11 </action>
12 </actions>
13 <actions architecture="x86_64" os="linux">
14 <action type="download_by_url">http://depot.galaxyproject.org/package/linux/x86_64/R/R-3.0.3-Linux-x86_64.tgz</action>
15 <action type="move_directory_files">
16 <source_directory>.</source_directory>
17 <destination_directory>$INSTALL_DIR</destination_directory>
18 </action>
19 <action type="set_environment">
20 <environment_variable action="set_to" name="TCL_LIBRARY">$INSTALL_DIR/lib/libtcl8.4.so</environment_variable>
21 <environment_variable action="set_to" name="TK_LIBRARY">$INSTALL_DIR/lib/libtk8.4.so</environment_variable>
22 </action>
23 </actions>
24 <actions>
25 <package name="readline" version="6.2">
26 <repository changeset_revision="246f31787ca1" name="package_readline_6_2" owner="iuc" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
27 </package>
28 <package name="libpng" version="1.6.7">
29 <repository changeset_revision="833849e0ddfc" name="package_libpng_1_6_7" owner="devteam" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
30 </package>
31 <package name="cairo" version="1.12.14">
32 <repository changeset_revision="4f7c800b1050" name="package_cairo_1_12_14" owner="devteam" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
33 </package>
34 <package name="pixman" version="0.32.4">
35 <repository changeset_revision="bcf53d429118" name="package_pixman_0_32_4" owner="devteam" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
36 </package>
37 <package name="freetype" version="2.5.2">
38 <repository changeset_revision="86bbb06ec11b" name="package_freetype_2_5_2" owner="devteam" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
39 </package>
40 <action type="download_by_url">http://cran.rstudio.com/src/base/R-3/R-3.0.3.tar.gz</action>
41 <action type="set_environment_for_install">
42 <repository changeset_revision="052e8df231ac" name="package_readline_6_2" owner="iuc" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu">
43 <package name="readline" version="6.2" />
44 </repository>
45 <repository changeset_revision="7c4a9189b712" name="package_libpng_1_6_7" owner="devteam" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu">
46 <package name="libpng" version="1.6.7" />
47 </repository>
48 <repository changeset_revision="7f467a4010e0" name="package_cairo_1_12_14" owner="devteam" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu">
49 <package name="cairo" version="1.12.14" />
50 </repository>
51 <repository changeset_revision="3d44a209a6b9" name="package_pixman_0_32_4" owner="devteam" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu">
52 <package name="pixman" version="0.32.4" />
53 </repository>
54 <repository changeset_revision="92d1906a12e4" name="package_freetype_2_5_2" owner="devteam" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu">
55 <package name="freetype" version="2.5.2" />
56 </repository>
57 </action>
58 <action type="shell_command">
59 export LDFLAGS="-L$PNG_LIBS -L$READLINE_LIB_PATH" &amp;&amp;
60 export LDFLAGS="$LDFLAGS -Wl,-rpath,$READLINE_LIB_PATH" &amp;&amp;
61 export LDFLAGS="$LDFLAGS -Wl,-rpath,$PIXMAN_LIB_PATH" &amp;&amp;
62 export LDFLAGS="$LDFLAGS -Wl,-rpath,$PNG_LIB_PATH" &amp;&amp;
63 export LDFLAGS="$LDFLAGS -Wl,-rpath,$FREETYPE_LIB_PATH" &amp;&amp;
64 export CFLAGS="-I$PNG_INCLUDES -I$READLINE_INCLUDE_PATH" &amp;&amp;
65 export CXXFLAGS="-I$PNG_INCLUDES -I$READLINE_INCLUDE_PATH" &amp;&amp;
66 export CPPFLAGS="-I$PNG_INCLUDES -I$READLINE_INCLUDE_PATH" &amp;&amp;
67 ./configure --with-tcltk \
68 --with-blas \
69 --with-lapack \
70 --with-readline \
71 --with-cairo \
72 --with-libpng \
73 --without-x \
74 --enable-R-shlib \
75 --disable-R-framework \
76 --libdir=$INSTALL_DIR/lib \
77 --prefix=$INSTALL_DIR
78 </action>
79 <action type="make_install" />
80 <action type="shell_command">sed -i.bak 's;$INSTALL_DIR;\${R_ROOT_DIR};g' $INSTALL_DIR/bin/R</action>
81 <action type="shell_command">sed -i.bak 's;$INSTALL_DIR;\${R_ROOT_DIR};g' $INSTALL_DIR/lib/R/bin/R</action>
82 </actions>
83 <action type="set_environment">
84 <environment_variable action="set_to" name="R_DOC_DIR">$INSTALL_DIR/lib/R/doc</environment_variable>
85 <environment_variable action="set_to" name="R_HOME_DIR">$INSTALL_DIR/lib/R</environment_variable>
86 <environment_variable action="set_to" name="R_INCLUDE_DIR">$INSTALL_DIR/lib/R/include</environment_variable>
87 <environment_variable action="set_to" name="R_SHARE_DIR">$INSTALL_DIR/lib/R/share</environment_variable>
88 <environment_variable action="set_to" name="R_ROOT_DIR">$INSTALL_DIR</environment_variable>
89 <environment_variable action="set_to" name="R_HOME">$INSTALL_DIR/lib/R</environment_variable>
90 <environment_variable action="set_to" name="RHOME">$INSTALL_DIR/lib/R</environment_variable>
91 <environment_variable action="set_to" name="R_LIBS">$INSTALL_DIR/lib/R/library</environment_variable>
92 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
93 </action>
94 </actions_group>
95 </install>
96 <readme>
97 The precompiled versions of this package were built 2014-03-07.
98 R is a free software environment for statistical computing and graphics.
99 NOTE: See custom compilation options above.
100 </readme>
101 </package>
102 </tool_dependency>