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>
|
1
|
7 <action type="shell_command">cp -r * $INSTALL_DIR/unpacked_source</action>
|
|
8 <action type="make_directory">build</action>
|
|
9 <action type="change_directory">build</action>
|
|
10 <action type="shell_command">cmake .. -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR/eigen3/</action>
|
|
11 <action type="make_install" />
|
0
|
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>
|