0
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
|
3 <package name="kronatools" version="2.4">
|
|
4 <install version="1.0">
|
|
5 <actions>
|
|
6 <action type="download_by_url">http://downloads.sourceforge.net/project/krona/KronaTools%20%28Mac%2C%20Linux%29/KronaTools-2.4.tar</action>
|
|
7 <action type="move_directory_files">
|
|
8 <source_directory>.</source_directory>
|
|
9 <destination_directory>$INSTALL_DIR</destination_directory>
|
|
10 </action>
|
|
11 <!-- ./install.pl must be run inside $INSTALL_DIR . Moreover "change_directory" action does not work because $INSTALL_DIR is outside the defined working directory -->
|
|
12 <action type="shell_command">cd $INSTALL_DIR && ./install.pl --prefix=$INSTALL_DIR</action>
|
|
13 <action type="set_environment">
|
|
14 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
|
|
15 </action>
|
|
16 </actions>
|
|
17 </install>
|
|
18 </package>
|
|
19 </tool_dependency>
|