0
|
1 <tool_dependency>
|
|
2 <package name="eigen2" version="2.0.17">
|
|
3 <install version="1.0">
|
|
4 <actions>
|
|
5 <action type="download_by_url">http://bitbucket.org/eigen/eigen/get/2.0.17.tar.gz</action>
|
|
6 <action type="make_directory">$INSTALL_DIR/unpacked_source</action>
|
|
7
|
|
8 <action type="shell_command">cp -r ./eigen-eigen-b23437e61a07/* $INSTALL_DIR/unpacked_source</action>
|
|
9 <action type="shell_command">cd ./eigen-eigen-b23437e61a07 && cmake . -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR/eigen2/</action>
|
|
10 <action type="shell_command">cd ./eigen-eigen-b23437e61a07 && make</action>
|
|
11 <action type="shell_command">cd ./eigen-eigen-b23437e61a07 && make install</action>
|
|
12
|
|
13 <action type="set_environment">
|
|
14 <environment_variable name="EIGEN2_SOURCE_PATH" action="set_to">$INSTALL_DIR/unpacked_source</environment_variable>
|
|
15 <environment_variable name="EIGEN2_INCLUDE_PATH" action="set_to">$INSTALL_DIR/eigen2/include</environment_variable>
|
|
16 <environment_variable name="EIGEN2_LIB_PATH" action="set_to">$INSTALL_DIR/eigen2/lib</environment_variable>
|
|
17 </action>
|
|
18 </actions>
|
|
19 </install>
|
|
20 <readme>Downloading and compiling the eigen2 library and unpacking it to the EIGEN2_SOURCE_PATH. EIGEN2_INCLUDE_PATH and EIGEN2_LIB_PATH will be available.</readme>
|
|
21 </package>
|
|
22 </tool_dependency>
|