comparison tool_dependencies.xml @ 3:f4c48bb81097

Uploaded
author bgruening
date Thu, 23 May 2013 03:07:17 -0400
parents 044100ba512c
children 9c79d74d23ef
comparison
equal deleted inserted replaced
2:044100ba512c 3:f4c48bb81097
1 <?xml version="1.0"?> 1 <?xml version="1.0"?>
2 <tool_dependency> 2 <tool_dependency>
3 <package name="lapack" version="3.4.2"> 3 <package name="openbabel" version="2.3.2">
4 <repository changeset_revision="11df6383f50a" name="package_lapack_3_4" owner="bgruening" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" /> 4 <repository changeset_revision="efffcee80e03" name="package_openbabel_2_3" owner="bgruening" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
5 </package> 5 </package>
6 <package name="atlas" version="3.10.1"> 6 <package name="graphicsmagick" version="1.3.18">
7 <repository changeset_revision="65451dfb9974" name="package_atlas_3_10" owner="bgruening" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" /> 7 <repository changeset_revision="34f511310435" name="package_graphicsmagick_1_3" owner="bgruening" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
8 </package> 8 </package>
9 <package name="numpy" version="1.7.1"> 9 <package name="osra" version="1.4.0">
10 <install version="1.0"> 10 <install version="1.0">
11 <actions> 11 <actions>
12 <action type="download_by_url">https://pypi.python.org/packages/source/n/numpy/numpy-1.7.1.tar.gz</action> 12
13 <action type="set_environment_for_install"> 13 <action type="download_by_url">http://downloads.sourceforge.net/project/osra/osra/2.0.0/osra-2.0.0.tgz</action>
14 <repository changeset_revision="65451dfb9974" name="package_atlas_3_10" owner="bgruening" toolshed="http://testtoolshed.g2.bx.psu.edu"> 14
15 <package name="atlas" version="3.10.1" /> 15
16 </repository> 16 <action type="set_environment_for_install">
17 </action> 17 <repository changeset_revision="efffcee80e03" name="package_openbabel_2_3" owner="bgruening" toolshed="http://testtoolshed.g2.bx.psu.edu">
18 <action type="set_environment_for_install"> 18 <package name="openbabel" version="2.3.2" />
19 <repository changeset_revision="11df6383f50a" name="package_lapack_3_4" owner="bgruening" toolshed="http://testtoolshed.g2.bx.psu.edu"> 19 </repository>
20 <package name="lapack" version="3.4.2" /> 20 <repository changeset_revision="34f511310435" name="package_graphicsmagick_1_3" owner="bgruening" toolshed="http://testtoolshed.g2.bx.psu.edu">
21 </repository> 21 <package name="graphicsmagick" version="1.3.18" />
22 </action> 22 </repository>
23 <action type="make_directory">$INSTALL_DIR/lib/python</action> 23 </action>
24 <action type="shell_command">export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python &amp;&amp; 24
25 export BLAS=$LAPACK_LIB_DIR/libblas.a &amp;&amp; 25
26 export LAPACK=$LAPACK_LIB_DIR/liblapack.a &amp;&amp; 26 <action type="shell_command">wget http://potrace.sourceforge.net/download/potrace-1.11.tar.gz</action>
27 export ATLAS=$ATLAS_LIB_DIR/libatlas.a &amp;&amp; 27 <action type="shell_command">tar xfvz potrace-1.11.tar.gz &amp;&amp; cd potrace-1.11 &amp;&amp; ./configure --with-libpotrace --prefix=$INSTALL_DIR/potrace/build &amp;&amp; make &amp;&amp; make install</action>
28 python setup.py install --home $INSTALL_DIR --install-scripts $INSTALL_DIR/bin</action> 28
29 <action type="set_environment"> 29
30 <environment_variable action="append_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable> 30 <action type="shell_command">wget http://www-e.uni-magdeburg.de/jschulen/ocr/gocr-0.50.tar.gz</action>
31 <environment_variable action="set_to" name="PYTHONPATH_NUMPY">$INSTALL_DIR/lib/python</environment_variable> 31 <action type="shell_command">tar xfvz gocr-0.50.tar.gz &amp;&amp; cd gocr-0.50 &amp;&amp; ./configure --prefix=$INSTALL_DIR/gocr/build &amp;&amp; make libs &amp;&amp; make all install</action>
32 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable> 32
33 </action> 33
34 </actions> 34 <action type="shell_command">wget http://downloads.sourceforge.net/project/tclap/tclap-1.2.1.tar.gz</action>
35 </install> 35 <action type="shell_command">tar xfvz tclap-1.2.1.tar.gz &amp;&amp; cd tclap-1.2.1 &amp;&amp; ./configure --prefix=$INSTALL_DIR/tclap/build &amp;&amp; make &amp;&amp; make install</action>
36 <readme>Compiling numpy requires a C and Fortran compiler (typically gcc and gfortran). The PYTHONPATH for numpy can be accessed through PYTHONPATH_NUMPY.</readme> 36
37 </package> 37
38 <action type="shell_command">wget http://mirror.checkdomain.de/gnu/ocrad/ocrad-0.21.tar.gz</action>
39 <action type="shell_command">tar xfvz ocrad-0.21.tar.gz &amp;&amp; cd ocrad-0.21 &amp;&amp; ./configure --prefix=$INSTALL_DIR/ocrad/build &amp;&amp; make &amp;&amp; make install</action>
40
41
42 <action type="shell_command">wget https://launchpad.net/cuneiform-linux/1.1/1.1/+download/cuneiform-linux-1.1.0.tar.bz2</action>
43 <action type="shell_command">tar xfvj cuneiform-linux-1.1.0.tar.bz2 &amp;&amp; cd cuneiform-linux-1.1.0 &amp;&amp; mkdir build &amp;&amp; cd build &amp;&amp; cmake .. -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR/cuneiform/build/ &amp;&amp; make &amp;&amp; make install</action>
44
45
46
47 <action type="shell_command">export PATH=$PATH:$GRAPHICSMAGICK_ROOT_DIR/bin/ &amp;&amp; ./configure --with-tclap-include=$INSTALL_DIR/tclap/build/include/ --with-potrace-include=$INSTALL_DIR/potrace/build/include/ --with-potrace-lib=$INSTALL_DIR/potrace/build/lib/ --with-gocr-include=$INSTALL_DIR/gocr/build/include/gocr/ --with-gocr-lib=$INSTALL_DIR/gocr/build/lib/ --with-ocrad-include=$INSTALL_DIR/ocrad/build/include/ --with-ocrad-lib=$INSTALL_DIR/ocrad/build/lib/ --with-cuneiform-include=$INSTALL_DIR/cuneiform/build/install/include/ --with-cuneiform --with-cuneiform-lib=$INSTALL_DIR/cuneiform/build/install/lib/ --with-openbabel-include=$OPENBABEL_INCLUDE_DIR/openbabel-2.0/ --with-openbabel-lib=$OPENBABEL_LIB_DIR --with-graphicsmagick-lib=$GRAPHICSMAGICK_ROOT_DIR/lib/ --with-graphicsmagick-include=$GRAPHICSMAGICK_ROOT_DIR/include/GraphicsMagick/ --prefix=$INSTALL_DIR </action>
48 <action type="shell_command">make</action>
49 <action type="shell_command">make install</action>
50
51 <action type="shell_command">rm $INSTALL_DIR/tclap/ -r</action>
52
53 <action type="shell_command">rm $INSTALL_DIR/gocr/ -r</action>
54 <action type="shell_command">rm $INSTALL_DIR/ocrad/ -r</action>
55 <action type="shell_command">rm $INSTALL_DIR/cuneiform/ -r</action>
56
57 <action type="set_environment">
58 <environment_variable action="prepend_to" name="LD_LIBRARY_PATH">$GRAPHICSMAGICK_ROOT_DIR/lib/</environment_variable>
59 <environment_variable action="prepend_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/potrace/build/lib/</environment_variable>
60 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
61
62 <environment_variable action="set_to" name="OSRA_DATA_FILES">$INSTALL_DIR/share</environment_variable>
63 </action>
64 </actions>
65 </install>
66 <readme>We still have a handfull of requirements</readme>
67 </package>
38 </tool_dependency> 68 </tool_dependency>