changeset 17:a8261e9cbe13

Add install directory to PATH.
author Matt Shirley <mdshw5@gmail.com>
date Mon, 30 Mar 2015 20:24:04 -0400
parents dd337a830b5c
children 3da3d1a4deae
files tool_dependencies.xml
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/tool_dependencies.xml	Mon Mar 30 16:22:27 2015 -0400
+++ b/tool_dependencies.xml	Mon Mar 30 20:24:04 2015 -0400
@@ -10,14 +10,14 @@
         <action type="shell_command">git clone https://github.com/mdshw5/ncbi-vdb.git</action>
         <action type="shell_command">git clone https://github.com/mdshw5/ngs.git</action>
         <action type="shell_command">LD_LIBRARY_PATH=LD_LIBRARY_PATH:$INSTALL_DIR/lib64:$INSTALL_DIR/lib</action>
-        <action type="change_directory">ncbi-vdb</action>
+        <action type="change_directory">$INSTALL_DIR/src/ncbi-vdb</action>
         <action type="autoconf">--prefix=$INSTALL_DIR --build-prefix=$INSTALL_DIR/build</action>
-        <action type="change_directory">../ngs</action>
-        <action type="change_directory">ngs-sdk</action>
+        <action type="change_directory">$INSTALL_DIR/src/ngs/ngs-sdk</action>
         <action type="autoconf">--prefix=$INSTALL_DIR --build-prefix=$INSTALL_DIR/build</action>
-        <action type="change_directory">../../sra-tools</action>
+        <action type="change_directory">$INSTALL_DIR/src/sra-tools</action>
         <action type="autoconf">--prefix=$INSTALL_DIR --build-prefix=$INSTALL_DIR/build --with-ncbi-vdb-build=$INSTALL_DIR/build --with-ncbi-vdb-sources=$INSTALL_DIR/src/ncbi-vdb --with-ngs-sdk-prefix=$INSTALL_DIR --with-magic-prefix=/dev/null</action>
         <action type="shell_command">sed -i -e "s|\$(HOME)|$INSTALL_DIR|g" -e "s|cache-enabled = \"true\"|cache-enabled = \"false\"|" $INSTALL_DIR/ncbi/default.kfg</action>
+        <action type="set_environment"><environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable></action>
       </actions>
     </install>
     <readme>