comparison tool_dependencies.xml @ 1:b895cf27fcdd

Uploaded
author bgruening
date Fri, 12 Apr 2013 11:50:32 -0400
parents 2c5354067ef0
children e129aeb73021
comparison
equal deleted inserted replaced
0:2c5354067ef0 1:b895cf27fcdd
1 <tool_dependency> 1 <tool_dependency>
2 <package name="numpy" version="1.7.0"> 2 <!-- ToDo: numpy dependency, install numpy beforehand.
3 install freetype
4 http://downloads.sourceforge.net/project/freetype/freetype2/2.4.11/freetype-2.4.11.tar.bz2
5 export CPLUS_INCLUDE_PATH=/home/bag/test/freetype/bin/include:/home/bag/test/freetype/bin/include/freetype2/
6 export LIBRARY_PATH=/home/bag/test/freetype/bin/lib/
7 -->
8 <package name="matplotlib" version="1.2.1">
3 <install version="1.0"> 9 <install version="1.0">
4 <actions> 10 <actions>
5 <action type="download_by_url">https://downloads.sourceforge.net/project/matplotlib/matplotlib/matplotlib-1.2.1/matplotlib-1.2.1.tar.gz</action> 11 <action type="download_by_url">https://downloads.sourceforge.net/project/matplotlib/matplotlib/matplotlib-1.2.1/matplotlib-1.2.1.tar.gz</action>
12 <action type="shell_command">wget http://downloads.sourceforge.net/project/freetype/freetype2/2.4.11/freetype-2.4.11.tar.bz2</action>
13 <action type="shell_command">tar xfvj freetype-2.4.11.tar.bz2 &amp;&amp;
14 cd freetype-2.4.11 &amp;&amp;
15 ./configure --prefix=$INSTALL_DIR/freetype/build
16 &amp;&amp; make &amp;&amp;
17 make install</action>
6 <action type="make_directory">$INSTALL_DIR/lib/python</action> 18 <action type="make_directory">$INSTALL_DIR/lib/python</action>
7 <action type="shell_command">export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &amp;&amp; python setup.py install --home $INSTALL_DIR --install-scripts $INSTALL_DIR/bin</action> 19 <action type="shell_command">export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &amp;&amp;
20 export CPLUS_INCLUDE_PATH=$INSTALL_DIR/freetype/build/include:$INSTALL_DIR/freetype/build/include/freetype2/ &amp;&amp;
21 export LIBRARY_PATH=$INSTALL_DIR/freetype/build/lib/ &amp;&amp;
22 python setup.py install --home $INSTALL_DIR --install-scripts $INSTALL_DIR/bin</action>
8 <action type="set_environment"> 23 <action type="set_environment">
9 <environment_variable name="PYTHONPATH" action="append_to">$INSTALL_DIR/lib/python</environment_variable> 24 <environment_variable name="PYTHONPATH" action="append_to">$INSTALL_DIR/lib/python</environment_variable>
10 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable> 25 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
11 </action> 26 </action>
12 </actions> 27 </actions>
13 </install> 28 </install>
14 <readme>Compiling numpy requires a C and Fortran compiler (typically gcc and gfortran).</readme> 29 <readme>Compiling matplotlib requires a Ccompiler (typically gcc), freetype2, numpy and libpng.</readme>
15 </package> 30 </package>
16 </tool_dependency> 31 </tool_dependency>