comparison tool_dependencies.xml @ 3:0e97d4936c23 draft

Uploaded tool_dependencies.xml modified to use the cheetah syntax contributed by B. Gruning.
author devteam
date Mon, 22 Jul 2013 14:20:37 -0400
parents 3569b0e8a8c1
children be713681f50f
comparison
equal deleted inserted replaced
2:3569b0e8a8c1 3:0e97d4936c23
1 <?xml version="1.0"?> 1 <?xml version="1.0"?>
2 <tool_dependency> 2 <tool_dependency>
3 <package name="libx11" version="1.5.0"> 3 <package name="libx11" version="1.5.0">
4 <repository changeset_revision="90c1cbb8095a" name="package_x11_client_1_5_proto_7_0" owner="devteam" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" /> 4 <repository changeset_revision="11623237372f" name="package_x11_client_1_5_proto_7_0" owner="devteam" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
5 </package> 5 </package>
6 <package name="emboss" version="5.0.0"> 6 <package name="emboss" version="5.0.0">
7 <install version="1.0"> 7 <install version="1.0">
8 <actions> 8 <actions>
9 <action type="download_by_url">ftp://emboss.open-bio.org/pub/EMBOSS/old/5.0.0/EMBOSS-5.0.0.tar.gz</action> 9 <action type="download_by_url">ftp://emboss.open-bio.org/pub/EMBOSS/old/5.0.0/EMBOSS-5.0.0.tar.gz</action>
10 <action type="set_environment_for_install"> 10 <action type="set_environment_for_install">
11 <repository changeset_revision="90c1cbb8095a" name="package_x11_client_1_5_proto_7_0" owner="devteam" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu"> 11 <repository changeset_revision="11623237372f" name="package_x11_client_1_5_proto_7_0" owner="devteam" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu">
12 <package name="libx11" version="1.5.0" /> 12 <package name="libx11" version="1.5.0" />
13 </repository> 13 </repository>
14 </action> 14 </action>
15 <action type="shell_command"> 15 <action language="cheetah" type="template_command">
16 if [ -z $X11_LIB_DIR ] [ -z $X11_INCLUDE_DIR ]; then 16 #if env.get('X11_LIB_DIR', False) and env.get('X11_INCLUDE_DIR', False):
17 ./configure --prefix=$INSTALL_DIR 17 ./configure --prefix=$env.INSTALL_DIR --x-includes=$env.X11_INCLUDE_DIR --x-libraries=$env.X11_LIB_DIR
18 else 18 #else:
19 ./configure --prefix=$INSTALL_DIR --x-includes=$X11_INCLUDE_DIR --x-libraries=$X11_LIB_DIR 19 ./configure --prefix=$env.INSTALL_DIR
20 fi 20 #end if
21 </action> 21 </action>
22 <action type="shell_command">make &amp;&amp; make install</action> 22 <action type="shell_command">make &amp;&amp; make install</action>
23 <action type="download_file" extract="true">ftp://emboss.open-bio.org/pub/EMBOSS/old/5.0.0/PHYLIP-3.6b.tar.gz</action> 23 <action extract="true" type="download_file">ftp://emboss.open-bio.org/pub/EMBOSS/old/5.0.0/PHYLIP-3.6b.tar.gz</action>
24 <action type="change_directory">PHYLIP-3.6b</action> 24 <action type="change_directory">PHYLIP-3.6b</action>
25 <action type="shell_command"> 25 <action language="cheetah" type="template_command">
26 if [ -z $X11_LIB_DIR ] [ -z $X11_INCLUDE_DIR ]; then 26 #if env.get('X11_LIB_DIR', False) and env.get('X11_INCLUDE_DIR', False):
27 ./configure --prefix=$INSTALL_DIR 27 ./configure --prefix=$env.INSTALL_DIR --x-includes=$env.X11_INCLUDE_DIR --x-libraries=$env.X11_LIB_DIR CFLAGS='-I$env.INSTALL_DIR/include'
28 else 28 #else:
29 ./configure --prefix=$INSTALL_DIR --x-includes=$X11_INCLUDE_DIR --x-libraries=$X11_LIB_DIR CFLAGS='-I../include' 29 ./configure --prefix=$env.INSTALL_DIR
30 fi 30 #end if
31 </action> 31 </action>
32 <action type="shell_command">make &amp;&amp; make install</action> 32 <action type="shell_command">make &amp;&amp; make install</action>
33 <action type="set_environment"> 33 <action type="set_environment">
34 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable> 34 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
35 </action> 35 </action>
36 </actions> 36 </actions>
37 </install> 37 </install>
38 <readme> 38 <readme>
39 These links provide information for building the Emboss package in most environments. 39 These links provide information for building the Emboss package in most environments.