0
|
1 <tool_dependency>
|
4
|
2 <package name="eigen3" version="3.1.3">
|
|
3 <repository toolshed="http://testtoolshed.g2.bx.psu.edu/" name="package_eigen_3_1" owner="bgruening" changeset_revision="b72b882b30b4" prior_installation_required="True" />
|
3
|
4 </package>
|
0
|
5 <package name="openbabel" version="2.3.2">
|
|
6 <install version="1.0">
|
|
7 <actions>
|
|
8 <action type="download_by_url">http://downloads.sourceforge.net/project/openbabel/openbabel/2.3.2/openbabel-2.3.2.tar.gz</action>
|
3
|
9
|
|
10 <!-- populate the environment variables from the dependend repos -->
|
|
11 <action type="set_environment_for_install">
|
4
|
12 <repository toolshed="http://testtoolshed.g2.bx.psu.edu/" name="package_eigen_3_1" owner="bgruening" changeset_revision="b72b882b30b4">
|
|
13 <package name="eigen3" version="3.1.3" />
|
3
|
14 </repository>
|
|
15 </action>
|
|
16
|
0
|
17 <!--
|
|
18 Huge hack, to point to the actual python lib path. Cmake gets confused with mixed python versions (2.x and 3.x) and we need to point explicitely to the recent version.
|
|
19 -->
|
5
|
20 <action type="shell_command">cmake . -DPYTHON_BINDINGS=ON -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR -DEIGEN3_INCLUDE_DIR=$EIGEN3_SOURCE_PATH -DPYTHON_LIBRARY=`python -c 'import distutils.sysconfig; print "%s/libpython%s.so" % (distutils.sysconfig.get_config_var("LIBPL"), distutils.sysconfig.get_python_version())'`</action>
|
0
|
21 <action type="shell_command">make</action>
|
|
22 <action type="shell_command">make install</action>
|
|
23 <action type="set_environment">
|
|
24 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
|
2
|
25 <environment_variable name="PYTHONPATH" action="prepend_to">$INSTALL_DIR/lib</environment_variable>
|
1
|
26 <!-- internal variables for open babel -->
|
0
|
27 <environment_variable name="BABEL_DATADIR" action="set_to">$INSTALL_DIR/share/openbabel</environment_variable>
|
|
28 <environment_variable name="BABEL_LIBDIR" action="set_to">$INSTALL_DIR/lib/openbabel/2.3.2</environment_variable>
|
1
|
29 <!-- galaxy variables for other tool wrappers -->
|
2
|
30 <environment_variable name="OPENBABEL_LIB_DIR" action="set_to">$INSTALL_DIR/lib</environment_variable>
|
|
31 <environment_variable name="OPENBABEL_INCLUDE_DIR" action="set_to">$INSTALL_DIR/include</environment_variable>
|
0
|
32 </action>
|
|
33 </actions>
|
|
34 </install>
|
4
|
35 <readme>Compiling OpenBabel requires g++ and CMake 2.4+. Optional but required for a few features are the cairo development libraries. OPENBABEL_INCLUDE_DIR and OPENBABEL_LIB_DIR can be accessed from other tool wrappers.</readme>
|
0
|
36 </package>
|
|
37 </tool_dependency>
|