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