comparison hexagram-6ae12361157c/hexagram/tool_dependencies.xml~ @ 0:1407e3634bcf draft default tip

Uploaded r11 from test tool shed.
author adam-novak
date Tue, 22 Oct 2013 14:17:59 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:1407e3634bcf
1 <?xml version="1.0"?>
2 <!--
3 Defines how to install the binaries that this tool depends on (in this case, DrL).
4 Based on the examples at http://wiki.galaxyproject.org/ToolShedToolFeatures
5 and http://toolshed.g2.bx.psu.edu/repos/jjohnson/defuse/file/f65857c1b92e/tool_dependencies.xml
6 -->
7 <tool_dependency>
8 <package name="drl-graph-layout" version="1.1">
9 <install version="1.0"><!-- This is the install tag version, not the package version -->
10 <actions>
11 <action type="shell_command">hg clone https://bitbucket.org/adam_novak/drl-graph-layout</action>
12 <!--
13 TODO: We're supposed to copy the right Configuration.mk
14 file. Not doing so assumes our system is GNU.
15 -->
16 <action type="shell_command">hg up -r drl-graph-layout-1.1</action>
17 <action type="shell_command">make</action>
18 <action type="move_directory_files">
19 <source_directory>bin</source_directory>
20 <destination_directory>$INSTALL_DIR/bin</destination_directory>
21 </action>
22 <!--
23 Now we can access DrL tools like truncate (at the expense of
24 GNU truncate)
25 -->
26 <!--
27 TODO: report to Galaxy that comments as the last element of
28 a set_enviromnent action atag are not properly handeled.
29 See install_util.py line 435 in revision 9d42f1e32efb
30 -->
31 <action type="set_environment">
32 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
33 </action>
34 </actions>
35 </install>
36 <readme>
37 This installs the latest DrL Graph Layout tool from Adam Novak's Bitbucket, because Shawn Martin has stopped maintaining it.
38 </readme>
39 </package>
40 </tool_dependency>