0
|
1 <tool_dependency>
|
|
2 <package name="numpy" version="1.7.1">
|
3
|
3 <repository toolshed="http://testtoolshed.g2.bx.psu.edu/" name="package_numpy_1_7" owner="bgruening" changeset_revision="c3041382815c" prior_installation_required="True" />
|
0
|
4 </package>
|
|
5 <package name="boost" version="1.53.0">
|
4
|
6 <repository toolshed="http://testtoolshed.g2.bx.psu.edu/" name="package_boost_1_53" owner="bgruening" changeset_revision="f4209b50c801" prior_installation_required="True" />
|
0
|
7 </package>
|
|
8
|
|
9 <package name="rdkit" version="2012_12_1">
|
|
10 <install version="1.0">
|
|
11 <actions>
|
3
|
12 <!-- first action is always downloading -->
|
|
13 <action type="download_by_url">http://downloads.sourceforge.net/project/rdkit/rdkit/Q4_2012/RDKit_2012_12_1.tgz</action>
|
|
14
|
|
15 <!-- populate the environment variables from the dependend repos -->
|
|
16 <action type="set_environment_for_install">
|
|
17 <repository toolshed="http://testtoolshed.g2.bx.psu.edu/" name="package_numpy_1_7" owner="bgruening" changeset_revision="c3041382815c">
|
|
18 <package name="numpy" version="1.7.1" />
|
|
19 </repository>
|
0
|
20 </action>
|
3
|
21 <action type="set_environment_for_install">
|
4
|
22 <repository toolshed="http://testtoolshed.g2.bx.psu.edu/" name="package_boost_1_53" owner="bgruening" changeset_revision="f4209b50c801">
|
3
|
23 <package name="boost" version="1.53.0" />
|
|
24 </repository>
|
0
|
25 </action>
|
|
26
|
|
27 <action type="shell_command">export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:`pwd`/lib/ &&
|
|
28 export PYTHONPATH=$PYTHONPATH:`pwd`/ &&
|
|
29 mkdir build &&
|
|
30 cd build &&
|
|
31 cmake .. -DBOOST_ROOT=$BOOST_ROOT_DIR -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR/rdkit/ -DRDK_INSTALL_INTREE=OFF</action>
|
|
32 <action type="shell_command">cd ./build && make </action>
|
|
33 <action type="shell_command">cd ./build && make install</action>
|
|
34
|
|
35 <action type="set_environment">
|
|
36 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/rdkit/bin</environment_variable>
|
|
37 <environment_variable name="PYTHONPATH" action="prepend_to">$INSTALL_DIR/rdkit/lib/</environment_variable>
|
|
38 </action>
|
|
39 </actions>
|
|
40 </install>
|
1
|
41 <readme>Compiling rdkit requires cmake, python headers, sqlite3, flex and bison.</readme>
|
|
42 </package>
|
|
43 </tool_dependency>
|