Mercurial > repos > bgruening > package_boost_1_53
comparison tool_dependencies.xml @ 8:f5b13e56a321 default tip
ChemicalToolBoX update.
author | Bjoern Gruening <bjoern.gruening@gmail.com> |
---|---|
date | Mon, 27 May 2013 16:52:32 +0200 |
parents | 139a023de075 |
children |
comparison
equal
deleted
inserted
replaced
7:139a023de075 | 8:f5b13e56a321 |
---|---|
1 <?xml version="1.0"?> | 1 <?xml version='1.0' encoding='utf-8'?> |
2 <tool_dependency> | 2 <tool_dependency> |
3 <package name="bzlib" version="1.0.6"> | 3 <package name="bzlib" version="1.0.6"> |
4 <repository changeset_revision="58a38de96f9b" name="package_bzlib_1_0" owner="bgruening" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" /> | 4 <repository changeset_revision="58a38de96f9b" name="package_bzlib_1_0" owner="bgruening" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu/" /> |
5 </package> | 5 </package> |
6 <package name="boost" version="1.53.0"> | 6 <package name="boost" version="1.53.0"> |
7 <install version="1.0"> | 7 <install version="1.0"> |
8 <actions> | 8 <actions> |
9 <action type="download_by_url">http://downloads.sourceforge.net/project/boost/boost/1.53.0/boost_1_53_0.tar.bz2</action> | 9 <action type="download_by_url">http://downloads.sourceforge.net/project/boost/boost/1.53.0/boost_1_53_0.tar.bz2</action> |
10 | 10 |
11 <!-- populate the environment variables from the dependend repos --> | 11 <!-- populate the environment variables from the dependend repos --> |
12 <action type="set_environment_for_install"> | 12 <action type="set_environment_for_install"> |
13 <repository changeset_revision="58a38de96f9b" name="package_bzlib_1_0" owner="bgruening" toolshed="http://testtoolshed.g2.bx.psu.edu"> | 13 <repository changeset_revision="58a38de96f9b" name="package_bzlib_1_0" owner="bgruening" toolshed="http://testtoolshed.g2.bx.psu.edu/"> |
14 <package name="bzlib" version="1.0.6" /> | 14 <package name="bzlib" version="1.0.6" /> |
15 </repository> | 15 </repository> |
16 </action> | 16 </action> |
17 | 17 |
18 <action type="shell_command">./bootstrap.sh</action> | 18 <action type="shell_command">./bootstrap.sh</action> |
19 <!-- try to set the right architecture with uname -m --> | 19 <!-- try to set the right architecture with uname -m --> |
20 <action type="shell_command">if [ $(uname -m) == 'x86_64' ]; then ./bjam install --prefix=$INSTALL_DIR/boost/ -sBZIP2_INCLUDE=$BZLIB_INCLUDE_DIR -sBZIP2_LIB=$BZLIB_LIB_DIR -sBZIP2_SOURCE=$BZLIB_SOURCE_DIR; else ./bjam address-model=64 cflags=-fPIC cxxflags=-fPIC install --prefix=$INSTALL_DIR/boost/ -sBZIP2_INCLUDE=$BZLIB_INCLUDE_DIR -sBZIP2_LIB=$BZLIB_LIB_DIR -sBZIP2_SOURCE=$BZLIB_SOURCE_DIR; fi;</action> | 20 <action type="shell_command">if [ $(uname -m) == 'x86_64' ]; then ./bjam install --prefix=$INSTALL_DIR/boost/ -sBZIP2_INCLUDE=$BZLIB_INCLUDE_DIR -sBZIP2_LIB=$BZLIB_LIB_DIR -sBZIP2_SOURCE=$BZLIB_SOURCE_DIR; else ./bjam address-model=64 cflags=-fPIC cxxflags=-fPIC install --prefix=$INSTALL_DIR/boost/ -sBZIP2_INCLUDE=$BZLIB_INCLUDE_DIR -sBZIP2_LIB=$BZLIB_LIB_DIR -sBZIP2_SOURCE=$BZLIB_SOURCE_DIR; fi;</action> |
21 | 21 |
22 <action type="set_environment"> | 22 <action type="set_environment"> |
23 <environment_variable action="set_to" name="BOOST_ROOT_DIR">$INSTALL_DIR/boost/</environment_variable> | 23 <environment_variable action="set_to" name="BOOST_ROOT_DIR">$INSTALL_DIR/boost</environment_variable> |
24 <environment_variable action="append_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/boost/lib/</environment_variable> | 24 <environment_variable action="append_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/boost/lib/</environment_variable> |
25 </action> | 25 </action> |
26 </actions> | 26 </actions> |
27 </install> | 27 </install> |
28 <readme>Compiling boost requires a C++ compiler (typically gcc). You can access the boost root directory through the $BOOST_ROOT_DIR system variable. All modules will be build.</readme> | 28 <readme>Compiling boost requires a C++ compiler (typically gcc). You can access the boost root directory through the $BOOST_ROOT_DIR system variable. All modules will be build.</readme> |