|
0
|
1 <?xml version="1.0"?>
|
|
|
2 <tool_dependency>
|
|
|
3 <package name="cmake" version="3.1.0">
|
|
|
4 <repository changeset_revision="e9baec7e0438" name="package_cmake_3_1_0" owner="morinlab" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
|
|
|
5 </package>
|
|
|
6 <package name="mysql" version="6.1.0">
|
|
|
7 <install version="1.0">
|
|
|
8 <actions>
|
|
|
9 <action type="download_by_url">http://downloads.mysql.com/archives/get/file/mysql-connector-c-6.1.0-src.tar.gz</action>
|
|
|
10 <action type="set_environment_for_install">
|
|
|
11 <repository changeset_revision="e9baec7e0438" name="package_cmake_3_1_0" owner="morinlab" toolshed="https://testtoolshed.g2.bx.psu.edu">
|
|
|
12 <package name="cmake" version="3.1.0" />
|
|
|
13 </repository>
|
|
|
14 </action>
|
|
|
15 <action type="shell_command">cmake -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR .</action>
|
|
|
16 <action type="shell_command">make</action>
|
|
|
17 <action type="shell_command">make install</action>
|
|
|
18 <action type="set_environment">
|
|
|
19 <environment_variable action="set_to" name="MYSQL_DIR">$INSTALL_DIR</environment_variable>
|
|
|
20 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
|
|
|
21 <environment_variable action="prepend_to" name="C_INCLUDE_PATH">$INSTALL_DIR/include</environment_variable>
|
|
|
22 <environment_variable action="prepend_to" name="LIBRARY_PATH">$INSTALL_DIR/lib</environment_variable>
|
|
|
23 <environment_variable action="prepend_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/lib</environment_variable>
|
|
|
24 </action>
|
|
|
25 </actions>
|
|
|
26 </install>
|
|
|
27 </package>
|
|
|
28 </tool_dependency>
|