comparison tool_dependencies.xml @ 0:99a10425de93 draft

Uploaded
author bgruening
date Thu, 15 Aug 2013 03:17:15 -0400
parents
children e5ef70185d24
comparison
equal deleted inserted replaced
-1:000000000000 0:99a10425de93
1 <?xml version="1.0"?>
2 <tool_dependency>
3 <package name="eigen3" version="3.1.3">
4 <repository changeset_revision="6a1c187f36aa" name="package_eigen_3_1" owner="iuc" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
5 </package>
6 <package name="openbabel" version="2.3.2">
7 <install version="1.0">
8 <actions>
9 <action type="download_by_url">http://downloads.sourceforge.net/project/openbabel/openbabel/2.3.2/openbabel-2.3.2.tar.gz</action>
10
11 <!-- populate the environment variables from the dependend repos -->
12 <action type="set_environment_for_install">
13 <repository changeset_revision="6a1c187f36aa" name="package_eigen_3_1" owner="iuc" toolshed="http://toolshed.g2.bx.psu.edu">
14 <package name="eigen3" version="3.1.3" />
15 </repository>
16 </action>
17
18 <!--
19 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.
20 -->
21 <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>
22 <action type="shell_command">make</action>
23 <action type="shell_command">make install</action>
24 <action type="set_environment">
25 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
26 <environment_variable action="prepend_to" name="PYTHONPATH">$INSTALL_DIR/lib</environment_variable>
27 <!-- internal variables for open babel -->
28 <environment_variable action="set_to" name="BABEL_DATADIR">$INSTALL_DIR/share/openbabel</environment_variable>
29 <environment_variable action="set_to" name="BABEL_LIBDIR">$INSTALL_DIR/lib/openbabel/2.3.2</environment_variable>
30 <!-- galaxy variables for other tool wrappers -->
31 <environment_variable action="set_to" name="OPENBABEL_LIB_DIR">$INSTALL_DIR/lib</environment_variable>
32 <environment_variable action="set_to" name="OPENBABEL_INCLUDE_DIR">$INSTALL_DIR/include</environment_variable>
33 </action>
34 </actions>
35 </install>
36 <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>
37 </package>
38 </tool_dependency>