|
0
|
1 <?xml version="1.0"?>
|
|
|
2 <tool_dependency>
|
|
|
3 <package name="mcr" version="1.0">
|
|
|
4 <install version="1.0">
|
|
|
5 <actions>
|
|
|
6 <action type="download_by_url">http://www.mathworks.com/supportfiles/MCR_Runtime/R2013a/MCR_R2013a_glnxa64_installer.zip</action>
|
|
|
7 <action type="shell_command">chmod 777 -R .</action>
|
|
|
8 <action type="make_directory">$INSTALL_DIR/MATLAB</action>
|
|
|
9 <action type="make_directory">$INSTALL_DIR/MATLAB/MATLAB_Compiler_Runtime</action>
|
|
|
10 <action type="shell_command">rm ./bin/glnxa64/libstdc++.so.6</action>
|
|
|
11 <action type="shell_command">ln -s ./bin/glnxa64/libstdc++.so.6.0.13 ./bin/glnxa64/libstdc++.so.6</action>
|
|
|
12 <action type="shell_command">./install -mode silent -inputFile $REPOSITORY_INSTALL_DIR/installer_input.txt</action>
|
|
|
13 <action type="move_directory_files">
|
|
|
14 <source_directory>.</source_directory>
|
|
|
15 <destination_directory>$INSTALL_DIR</destination_directory>
|
|
|
16 </action>
|
|
|
17 <action type="shell_command">export LD_LIBRARY_PATH=$INSTALL_DIR/MATLAB/MATLAB_Compiler_Runtime/v81/runtime/glnxa64:$INSTALL_DIR/MATLAB/MATLAB_Compiler_Runtime/v81/bin/glnxa64:$INSTALL_DIR/MATLAB/MATLAB_Compiler_Runtime/v81/sys/os/glnxa64:$INSTALL_DIR/MATLAB/MATLAB_Compiler_Runtime/v81/sys/java/jre/glnxa64/jre/lib/amd64/native_threads:$INSTALL_DIR/MATLAB/MATLAB_Compiler_Runtime/v81/sys/java/jre/glnxa64/jre/lib/amd64/server:$INSTALL_DIR/MATLAB/MATLAB_Compiler_Runtime/v81/sys/java/jre/glnxa64/jre/lib/amd64</action>
|
|
|
18 <action type="shell_command">export XAPPLRESDIR=$INSTALL_DIR/MATLAB/MATLAB_Compiler_Runtime/v81/X11/app-defaults </action>
|
|
|
19 <action type="set_environment">
|
|
|
20 <environment_variable name="MCR_ROOT" action="set_to">$INSTALL_DIR/MATLAB/MATLAB_Compiler_Runtime</environment_variable>
|
|
|
21 </action>
|
|
|
22 </actions>
|
|
|
23 </install>
|
|
|
24 <readme>
|
|
|
25 Matlab Compiler Runtime.
|
|
|
26 </readme>
|
|
|
27 </package>
|
|
|
28 </tool_dependency>
|