|
0
|
1 <?xml version="1.0"?>
|
|
|
2 <tool_dependency>
|
|
|
3 <package name="bwtool" version="1.0-gamma">
|
|
|
4 <install version="1.0">
|
|
|
5 <actions>
|
|
|
6 <action type="download_by_url">https://github.com/CRG-Barcelona/libbeato/archive/92073be13d6bd1f755238bb98ff753bc1f2ca012.tar.gz</action>
|
|
2
|
7 <action type="shell_command">./configure</action>
|
|
0
|
8 <action type="shell_command">make</action>
|
|
|
9 <action type="move_directory_files">
|
|
|
10 <source_directory>lib</source_directory>
|
|
|
11 <destination_directory>$INSTALL_DIR/lib</destination_directory>
|
|
|
12 </action>
|
|
|
13 <action type="move_directory_files">
|
|
|
14 <source_directory>include</source_directory>
|
|
|
15 <destination_directory>$INSTALL_DIR/include</destination_directory>
|
|
|
16 </action>
|
|
|
17 <action type="download_by_url">https://github.com/CRG-Barcelona/bwtool/archive/v1.0-gamma.tar.gz</action>
|
|
2
|
18 <action type="shell_command">./configure LDFLAGS="-L$INSTALL_DIR/lib" CPPFLAGS="-I$INSTALL_DIR/include"</action>
|
|
0
|
19 <action type="shell_command">make</action>
|
|
|
20 <action type="shell_command">rm -r $INSTALL_DIR/lib $INSTALL_DIR/include</action>
|
|
|
21 <action type="move_directory_files">
|
|
|
22 <source_directory>bin</source_directory>
|
|
|
23 <destination_directory>$INSTALL_DIR/bin</destination_directory>
|
|
|
24 </action>
|
|
|
25 <action type="set_environment">
|
|
|
26 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
|
|
|
27 </action>
|
|
|
28 </actions>
|
|
|
29 </install>
|
|
|
30 </package>
|
|
|
31 </tool_dependency>
|