0
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
|
3 <package name="numpy" version="1.7.1">
|
|
4 <repository changeset_revision="74c21f9bdc39" name="package_numpy_1_7" owner="iuc" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
|
|
5 </package>
|
|
6 <package name="openbabel" version="2.3.2">
|
|
7 <repository changeset_revision="99a10425de93" name="package_openbabel_2_3" owner="iuc" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
|
|
8 </package>
|
|
9 <package name="rdkit" version="2012_12_1">
|
1
|
10 <repository changeset_revision="2ab9cdc5cd14" name="package_rdkit_2012_12" owner="iuc" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
|
0
|
11 </package>
|
|
12 <package name="silicos_it" version="1.0.1">
|
|
13 <install version="1.0">
|
|
14 <actions>
|
|
15 <action type="download_by_url">https://github.com/bgruening/silicos-it_store/raw/master/strip-it/strip-it-1.0.2.tar.gz</action>
|
|
16
|
|
17 <!-- populate the environment variables from the dependend repos
|
|
18 $OPENBABEL_INCLUDE_DIR and $OPENBABEL_LIB_DIR
|
|
19 -->
|
|
20 <action type="set_environment_for_install">
|
|
21 <repository changeset_revision="99a10425de93" name="package_openbabel_2_3" owner="iuc" toolshed="http://toolshed.g2.bx.psu.edu">
|
|
22 <package name="openbabel" version="2.3.2" />
|
|
23 </repository>
|
|
24 </action>
|
|
25
|
|
26 <!--compiling strip-it -->
|
|
27 <action type="shell_command">
|
|
28 cmake . -DOPENBABEL2_INCLUDE_DIRS=$OPENBABEL_INCLUDE_DIR/openbabel-2.0/ -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR/strip-it/ -DOPENBABEL2_LIBRARIES=$OPENBABEL_LIB_DIR/libopenbabel.so &&
|
|
29 make &&
|
|
30 make install</action>
|
|
31 <action type="set_environment">
|
|
32 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/strip-it/bin</environment_variable>
|
|
33 </action>
|
|
34
|
|
35 <!-- compiling align-it -->
|
|
36 <action type="shell_command">wget https://github.com/bgruening/silicos-it_store/raw/master/align-it/align-it-1.0.3.tar.gz</action>
|
|
37 <action type="shell_command">tar xfvz align-it-1.0.3.tar.gz &&
|
|
38 cd align-it-1.0.3 &&
|
|
39 cmake . -DOPENBABEL2_INCLUDE_DIRS=$OPENBABEL_INCLUDE_DIR/openbabel-2.0/ -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR/align-it/ -DOPENBABEL2_LIBRARIES=$OPENBABEL_LIB_DIR/libopenbabel.so &&
|
|
40 make &&
|
|
41 make install</action>
|
|
42 <action type="set_environment">
|
|
43 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/align-it/bin</environment_variable>
|
|
44 </action>
|
|
45
|
|
46 <!-- compiling shape-it -->
|
|
47 <action type="shell_command">wget https://github.com/bgruening/silicos-it_store/raw/master/shape-it/shape-it-1.0.1.tar.gz</action>
|
|
48 <action type="shell_command">tar xfvz shape-it-1.0.1.tar.gz &&
|
|
49 cd shape-it-1.0.1 &&
|
|
50 cmake . -DOPENBABEL2_INCLUDE_DIRS=$OPENBABEL_INCLUDE_DIR/openbabel-2.0/ -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR/shape-it/ -DOPENBABEL2_LIBRARIES=$OPENBABEL_LIB_DIR/libopenbabel.so &&
|
|
51 make &&
|
|
52 make install</action>
|
|
53 <action type="set_environment">
|
|
54 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/shape-it/bin</environment_variable>
|
|
55 </action>
|
|
56
|
|
57 </actions>
|
|
58 </install>
|
|
59 <readme>Compiling silicos-it requires g++ and CMake 2.4+.</readme>
|
|
60 </package>
|
|
61 </tool_dependency>
|