|
0
|
1 <?xml version="1.0"?>
|
|
|
2 <tool_dependency>
|
|
|
3 <package name="boost" version="1.53.0">
|
|
|
4 <repository changeset_revision="7cc7949148d5" name="package_boost_1_53" owner="iuc" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
|
|
|
5 </package>
|
|
|
6
|
|
|
7 <package name="sailfish" version="0.6.3">
|
|
|
8 <install version="1.0">
|
|
|
9 <actions>
|
|
|
10 <!-- first action is always downloading -->
|
|
|
11 <action type="download_by_url">https://github.com/kingsfordgroup/sailfish/archive/v0.6.3.tar.gz</action>
|
|
|
12
|
|
|
13 <!-- populate the environment variables from the dependend repos -->
|
|
|
14 <action type="set_environment_for_install">
|
|
|
15 <repository changeset_revision="7cc7949148d5" name="package_boost_1_53" owner="iuc" toolshed="http://testtoolshed.g2.bx.psu.edu">
|
|
|
16 <package name="boost" version="1.53.0" />
|
|
|
17 </repository>
|
|
|
18 </action>
|
|
|
19
|
|
|
20 <!-- PYTHONPATH_NUMPY is set in the numpy package -->
|
|
|
21 <action type="shell_command">
|
|
|
22 mkdir build &&
|
|
|
23 cd build &&
|
|
|
24 cmake .. -DBOOST_ROOT=$BOOST_ROOT_DIR -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR</action>
|
|
|
25 <action type="shell_command">cd ./build && make </action>
|
|
|
26 <action type="shell_command">cd ./build && make install</action>
|
|
|
27
|
|
|
28 <action type="set_environment">
|
|
|
29 <environment_variable action="append_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/lib/</environment_variable>
|
|
|
30 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
|
|
|
31 <environment_variable action="append_to" name="LD_LIBRARY_PATH">$ENV[BOOST_ROOT_DIR]/lib/</environment_variable>
|
|
|
32 </action>
|
|
|
33 </actions>
|
|
|
34 </install>
|
|
|
35 <readme>Compiling sailfish requires cmake and C++11 compiler (usually gcc).</readme>
|
|
|
36 </package>
|
|
|
37 </tool_dependency>
|