0
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
|
3 <package name="weeder" version="2.0">
|
|
4 <install version="1.0">
|
|
5 <actions>
|
|
6 <action type="download_by_url">http://159.149.160.51/modtools/downloads/weeder2.0.tar.gz</action>
|
|
7 <action type="shell_command">
|
|
8 g++ weeder2.cpp -o weeder2 -O3
|
|
9 </action>
|
|
10 <!-- Move weeder2 executable -->
|
|
11 <action type="move_file">
|
|
12 <source>weeder2</source>
|
|
13 <destination>$INSTALL_DIR/bin</destination>
|
|
14 </action>
|
|
15 <!-- Move data files -->
|
|
16 <action type="move_directory_files">
|
|
17 <source_directory>FreqFiles</source_directory>
|
|
18 <destination_directory>$INSTALL_DIR/FreqFiles</destination_directory>
|
|
19 </action>
|
|
20 <!-- Set environment variables -->
|
|
21 <action type="set_environment">
|
|
22 <environment_variable name="WEEDER_DIR" action="set_to">$INSTALL_DIR</environment_variable>
|
|
23 </action>
|
|
24 <action type="set_environment">
|
|
25 <environment_variable name="WEEDER_FREQFILES_DIR" action="set_to">$INSTALL_DIR/FreqFiles</environment_variable>
|
|
26 </action>
|
|
27 <action type="set_environment">
|
|
28 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
|
|
29 </action>
|
|
30 </actions>
|
|
31 </install>
|
|
32 <readme>Installs Weeder 2.0
|
|
33
|
|
34 See http://159.149.160.51/modtools/downloads/weeder2.html
|
|
35 and http://159.149.160.51/modtools/
|
|
36 </readme>
|
|
37 </package>
|
|
38 </tool_dependency>
|
|
39
|