0
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
|
3 <package name="bzlib" version="1.0.6">
|
|
4 <repository changeset_revision="f744bc704064" name="package_bzlib_1_0" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
|
|
5 </package>
|
|
6 <package name="boost" version="1.55.0">
|
|
7 <install version="1.0">
|
|
8 <actions>
|
|
9 <action type="download_by_url">http://downloads.sourceforge.net/project/boost/boost/1.55.0/boost_1_55_0.tar.gz</action>
|
|
10 <!-- populate the environment variables from the dependend repos -->
|
|
11 <action type="set_environment_for_install">
|
|
12 <repository changeset_revision="f744bc704064" name="package_bzlib_1_0" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu">
|
|
13 <package name="bzlib" version="1.0.6" />
|
|
14 </repository>
|
|
15 </action>
|
|
16 <action type="shell_command">./bootstrap.sh</action>
|
|
17 <!-- try to set the right architecture with uname -m -->
|
|
18 <action type="shell_command">
|
|
19 ./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;
|
|
20 </action>
|
|
21 <action type="set_environment">
|
|
22 <environment_variable action="set_to" name="BOOST_ROOT_DIR">$INSTALL_DIR/boost</environment_variable>
|
|
23 <environment_variable action="append_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/boost/lib/</environment_variable>
|
|
24 <environment_variable action="prepend_to" name="CPLUS_INCLUDE_PATH">$INSTALL_DIR/boost/include</environment_variable>
|
|
25 <environment_variable action="prepend_to" name="C_INCLUDE_PATH">$INSTALL_DIR/boost/include</environment_variable>
|
|
26 </action>
|
|
27 </actions>
|
|
28 </install>
|
|
29 <readme>
|
|
30 Compiling boost requires a C++ compiler (typically gcc).
|
|
31 You can access the boost root directory through the $BOOST_ROOT_DIR system variable. All modules will be build.
|
|
32 Development of that wrapper happens in https://github.com/bgruening/galaxytools/.
|
|
33 </readme>
|
|
34 </package>
|
|
35 </tool_dependency>
|