changeset 3:326ac8ebbcdd draft

Update tool dependencies
author Matt Shirley <mdshw5@gmail.com>
date Sun, 16 Jun 2013 22:07:21 -0400
parents d529eff98834
children 5d7baf38e470
files tool_dependencies.xml
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/tool_dependencies.xml	Wed May 29 22:10:26 2013 -0400
+++ b/tool_dependencies.xml	Sun Jun 16 22:07:21 2013 -0400
@@ -4,11 +4,10 @@
     <install version="1.0">
       <actions>
 	<action type="download_by_url">http://ftp-trace.ncbi.nlm.nih.gov/sra/sdk/2.3.2-4/sra_sdk-2.3.2-4.tar.gz</action>
-	<action type="shell_command">make OUTDIR=$INSTALL_DIR out</action>
 	<action type="shell_command">make release</action>
 	<action type="shell_command">make</action>
-	<action type="shell_command">cd $INSTALL_DIR</action>
-	<action type="shell_command">if [[ $(uname -m) =~ x86_64 ]]; then ln -s bin64 bin; elif [[ $(uname -m) =~ i.86 ]]; then ln -s bin32 bin; fi</action>
+	<action type="shell_command">if [[ $(uname -m) =~ x86_64 ]]; then export $BIN='bin64'; elif [[ $(uname -m) =~ i.86 ]]; then export $BIN='bin32'; fi</action>
+	<action type="move_directory_files"><source_directory>$BIN</source_directory><destination_directory>$INSTALL_DIR/bin</destination_directory></action>
 	<action type="set_environment"><environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable></action>
       </actions>
     </install>