annotate tool_dependencies.xml @ 0:99a10425de93 draft

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