changeset 2:3569b0e8a8c1 draft

Uploaded tool dependency definition that explicitly prepends $INSTALL_DIR/bin to the $PATH environment variable.
author devteam
date Tue, 25 Jun 2013 15:36:12 -0400
parents f117a9d9dc9c
children 0e97d4936c23
files tool_dependencies.xml
diffstat 1 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/tool_dependencies.xml	Tue Jun 25 13:50:00 2013 -0400
+++ b/tool_dependencies.xml	Tue Jun 25 15:36:12 2013 -0400
@@ -13,7 +13,7 @@
                     </repository>
                 </action>
                 <action type="shell_command">
-                    if [ -z $X11_LIB_DIR ] || [ -z $X11_INCLUDE_DIR ]; then
+                    if [ -z $X11_LIB_DIR ]  [ -z $X11_INCLUDE_DIR ]; then
                         ./configure --prefix=$INSTALL_DIR
                     else
                         ./configure --prefix=$INSTALL_DIR --x-includes=$X11_INCLUDE_DIR --x-libraries=$X11_LIB_DIR
@@ -23,13 +23,16 @@
                 <action type="download_file" extract="true">ftp://emboss.open-bio.org/pub/EMBOSS/old/5.0.0/PHYLIP-3.6b.tar.gz</action>
                 <action type="change_directory">PHYLIP-3.6b</action>
                 <action type="shell_command">
-                    if [ -z $X11_LIB_DIR ] || [ -z $X11_INCLUDE_DIR ]; then
+                    if [ -z $X11_LIB_DIR ]  [ -z $X11_INCLUDE_DIR ]; then
                         ./configure --prefix=$INSTALL_DIR
                     else
                         ./configure --prefix=$INSTALL_DIR --x-includes=$X11_INCLUDE_DIR --x-libraries=$X11_LIB_DIR CFLAGS='-I../include'
                     fi
                 </action>
                 <action type="shell_command">make &amp;&amp; make install</action>
+                <action type="set_environment">
+                    <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
+                </action>
             </actions>
         </install>
         <readme>
@@ -42,4 +45,4 @@
 http://emboss.sourceforge.net/download/#Platforms
         </readme>
     </package>
-</tool_dependency>
\ No newline at end of file
+</tool_dependency>