view tool_dependencies.xml @ 0:766f27cb3cd7 draft default tip

Uploaded
author morinlab
date Sat, 03 Dec 2016 18:52:08 -0500
parents
children
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
  <package name="cmake" version="3.1.0">
    <repository changeset_revision="e9baec7e0438" name="package_cmake_3_1_0" owner="morinlab" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
  </package>
  <package name="mysql" version="6.1.0">
    <install version="1.0">
      <actions>
        <action type="download_by_url">http://downloads.mysql.com/archives/get/file/mysql-connector-c-6.1.0-src.tar.gz</action>
        <action type="set_environment_for_install">
          <repository changeset_revision="e9baec7e0438" name="package_cmake_3_1_0" owner="morinlab" toolshed="https://testtoolshed.g2.bx.psu.edu">
              <package name="cmake" version="3.1.0" />
          </repository>
        </action>
        <action type="shell_command">cmake -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR .</action>
        <action type="shell_command">make</action>	
        <action type="shell_command">make install</action>
        <action type="set_environment">
          <environment_variable action="set_to" name="MYSQL_DIR">$INSTALL_DIR</environment_variable>
          <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
          <environment_variable action="prepend_to" name="C_INCLUDE_PATH">$INSTALL_DIR/include</environment_variable>
          <environment_variable action="prepend_to" name="LIBRARY_PATH">$INSTALL_DIR/lib</environment_variable>
          <environment_variable action="prepend_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/lib</environment_variable>	
        </action>
      </actions>
    </install>
  </package>
</tool_dependency>