comparison tool_dependencies.xml @ 0:39c1607cec88 draft

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