annotate tool_dependencies.xml @ 1:6fd6b904eeff

Uploaded
author bgruening
date Thu, 25 Apr 2013 11:02:31 -0400
parents 9e07452137da
children 13d2ea9436b3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
9e07452137da initail Uploaded
bgruening
parents:
diff changeset
1 <tool_dependency>
9e07452137da initail Uploaded
bgruening
parents:
diff changeset
2 <package name="openbabel" version="2.3.2">
9e07452137da initail Uploaded
bgruening
parents:
diff changeset
3 <install version="1.0">
9e07452137da initail Uploaded
bgruening
parents:
diff changeset
4 <actions>
9e07452137da initail Uploaded
bgruening
parents:
diff changeset
5 <action type="download_by_url">http://downloads.sourceforge.net/project/openbabel/openbabel/2.3.2/openbabel-2.3.2.tar.gz</action>
9e07452137da initail Uploaded
bgruening
parents:
diff changeset
6 <!--
9e07452137da initail Uploaded
bgruening
parents:
diff changeset
7 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.
9e07452137da initail Uploaded
bgruening
parents:
diff changeset
8 -->
9e07452137da initail Uploaded
bgruening
parents:
diff changeset
9 <action type="shell_command">cmake . -DPYTHON_BINDINGS=ON -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR -DPYTHON_LIBRARY=`python -c 'import sys; print "%s/lib/python%s.%s/config/libpython%s.%s.so" % (sys.exec_prefix, sys.version_info.major, sys.version_info.minor, sys.version_info.major, sys.version_info.minor)'`</action>
9e07452137da initail Uploaded
bgruening
parents:
diff changeset
10 <action type="shell_command">make</action>
9e07452137da initail Uploaded
bgruening
parents:
diff changeset
11 <action type="shell_command">make install</action>
9e07452137da initail Uploaded
bgruening
parents:
diff changeset
12 <action type="set_environment">
9e07452137da initail Uploaded
bgruening
parents:
diff changeset
13 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
9e07452137da initail Uploaded
bgruening
parents:
diff changeset
14 <environment_variable name="PYTHONPATH" action="prepend_to">$INSTALL_DIR/lib/</environment_variable>
1
6fd6b904eeff Uploaded
bgruening
parents: 0
diff changeset
15 <!-- internal variables for open babel -->
0
9e07452137da initail Uploaded
bgruening
parents:
diff changeset
16 <environment_variable name="BABEL_DATADIR" action="set_to">$INSTALL_DIR/share/openbabel</environment_variable>
9e07452137da initail Uploaded
bgruening
parents:
diff changeset
17 <environment_variable name="BABEL_LIBDIR" action="set_to">$INSTALL_DIR/lib/openbabel/2.3.2</environment_variable>
1
6fd6b904eeff Uploaded
bgruening
parents: 0
diff changeset
18 <!-- galaxy variables for other tool wrappers -->
6fd6b904eeff Uploaded
bgruening
parents: 0
diff changeset
19 <environment_variable name="OPENBABEL_LIB_DIR" action="set_to">$INSTALL_DIR/lib/</environment_variable>
6fd6b904eeff Uploaded
bgruening
parents: 0
diff changeset
20 <environment_variable name="OPENBABEL_INCLUDE_DIR" action="set_to">$INSTALL_DIR/include/</environment_variable>
0
9e07452137da initail Uploaded
bgruening
parents:
diff changeset
21 </action>
9e07452137da initail Uploaded
bgruening
parents:
diff changeset
22 </actions>
9e07452137da initail Uploaded
bgruening
parents:
diff changeset
23 </install>
1
6fd6b904eeff Uploaded
bgruening
parents: 0
diff changeset
24 <readme>Compiling OpenBabel requires g++ and CMake 2.4+. Optional but required for a few features is Eigen version 2 or newer and the cairo development libraries. OPENBABEL_INCLUDE_DIR and OPENBABEL_LIB_DIR can be accessed from other tool wrappers.</readme>
0
9e07452137da initail Uploaded
bgruening
parents:
diff changeset
25 </package>
9e07452137da initail Uploaded
bgruening
parents:
diff changeset
26 </tool_dependency>