diff tool_dependencies.xml @ 0:150d543a04ca draft

Uploaded
author pavanvidem
date Wed, 20 May 2015 13:09:30 -0400
parents
children 27f84184bbb2
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml	Wed May 20 13:09:30 2015 -0400
@@ -0,0 +1,31 @@
+<?xml version="1.0"?>
+<tool_dependency>
+    <package name="bwtool" version="1.0-gamma">
+        <install version="1.0">
+            <actions>
+                <action type="download_by_url">https://github.com/CRG-Barcelona/libbeato/archive/92073be13d6bd1f755238bb98ff753bc1f2ca012.tar.gz</action>
+                <action type="shell_command">configure"</action>
+                <action type="shell_command">make</action>
+                <action type="move_directory_files">
+                    <source_directory>lib</source_directory>
+                    <destination_directory>$INSTALL_DIR/lib</destination_directory>
+                </action>
+                <action type="move_directory_files">
+                    <source_directory>include</source_directory>
+                    <destination_directory>$INSTALL_DIR/include</destination_directory>
+                </action>
+                <action type="download_by_url">https://github.com/CRG-Barcelona/bwtool/archive/v1.0-gamma.tar.gz</action>
+                <action type="shell_command">configure LDFLAGS="-L$INSTALL_DIR/lib" CPPFLAGS="-I$INSTALL_DIR/include"</action>
+                <action type="shell_command">make</action>
+                <action type="shell_command">rm -r $INSTALL_DIR/lib $INSTALL_DIR/include</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>
+    </package>
+</tool_dependency>