Mercurial > repos > malbuquerque > package_cmake_3_1_0
diff tool_dependencies.xml @ 0:70f48cc33c24 draft
Uploaded
author | malbuquerque |
---|---|
date | Mon, 19 Jan 2015 18:34:48 -0500 |
parents | |
children | a18ccb33a785 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool_dependencies.xml Mon Jan 19 18:34:48 2015 -0500 @@ -0,0 +1,20 @@ +<?xml version="1.0"?> + <tool_dependency> + <package name="cmake" version="3.1.0"> + <install version="1.0"> + <actions> + <action type="download_by_url">www.cmake.org/files/v3.1/cmake-3.1.0.tar.gz</action> + <action type="shell_command">./bootstrap</action> + <action type="shell_command">make</action> + <action type="move_directory_files"> + <source_directory>./</source_directory> + <destination_directory>$INSTALL_DIR</destination_directory> + </action> + <action type="set_environment"> + <environment_variable name="CMAKE_ROOT" action="set_to">$INSTALL_DIR</environment_variable> + <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin/</environment_variable> + </action> + </actions> + </install> + </package> + </tool_dependency>