changeset 1:6fd6b904eeff

Uploaded
author bgruening
date Thu, 25 Apr 2013 11:02:31 -0400
parents 9e07452137da
children 13d2ea9436b3
files tool_dependencies.xml
diffstat 1 files changed, 5 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/tool_dependencies.xml	Tue Mar 26 12:47:14 2013 -0400
+++ b/tool_dependencies.xml	Thu Apr 25 11:02:31 2013 -0400
@@ -11,18 +11,16 @@
                 <action type="shell_command">make install</action>
                 <action type="set_environment">
                     <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
-                </action>
-                <action type="set_environment">
                     <environment_variable name="PYTHONPATH" action="prepend_to">$INSTALL_DIR/lib/</environment_variable>
-                </action>
-                <action type="set_environment">
+                    <!-- internal variables for open babel -->
                     <environment_variable name="BABEL_DATADIR" action="set_to">$INSTALL_DIR/share/openbabel</environment_variable>
-                </action>
-                <action type="set_environment">
                     <environment_variable name="BABEL_LIBDIR" action="set_to">$INSTALL_DIR/lib/openbabel/2.3.2</environment_variable>
+                    <!-- galaxy variables for other tool wrappers -->
+                    <environment_variable name="OPENBABEL_LIB_DIR" action="set_to">$INSTALL_DIR/lib/</environment_variable>
+                    <environment_variable name="OPENBABEL_INCLUDE_DIR" action="set_to">$INSTALL_DIR/include/</environment_variable>
                 </action>
             </actions>
         </install>
-        <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.</readme>
+        <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>
     </package>
 </tool_dependency>