Mercurial > repos > bgruening > upload_testing
diff tool_dependencies.xml @ 3:f4c48bb81097
Uploaded
| author | bgruening |
|---|---|
| date | Thu, 23 May 2013 03:07:17 -0400 |
| parents | 044100ba512c |
| children | 9c79d74d23ef |
line wrap: on
line diff
--- a/tool_dependencies.xml Wed May 22 17:02:11 2013 -0400 +++ b/tool_dependencies.xml Thu May 23 03:07:17 2013 -0400 @@ -1,38 +1,68 @@ <?xml version="1.0"?> <tool_dependency> - <package name="lapack" version="3.4.2"> - <repository changeset_revision="11df6383f50a" name="package_lapack_3_4" owner="bgruening" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" /> - </package> - <package name="atlas" version="3.10.1"> - <repository changeset_revision="65451dfb9974" name="package_atlas_3_10" owner="bgruening" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" /> - </package> - <package name="numpy" version="1.7.1"> - <install version="1.0"> - <actions> - <action type="download_by_url">https://pypi.python.org/packages/source/n/numpy/numpy-1.7.1.tar.gz</action> - <action type="set_environment_for_install"> - <repository changeset_revision="65451dfb9974" name="package_atlas_3_10" owner="bgruening" toolshed="http://testtoolshed.g2.bx.psu.edu"> - <package name="atlas" version="3.10.1" /> - </repository> - </action> - <action type="set_environment_for_install"> - <repository changeset_revision="11df6383f50a" name="package_lapack_3_4" owner="bgruening" toolshed="http://testtoolshed.g2.bx.psu.edu"> - <package name="lapack" version="3.4.2" /> - </repository> - </action> - <action type="make_directory">$INSTALL_DIR/lib/python</action> - <action type="shell_command">export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python && - export BLAS=$LAPACK_LIB_DIR/libblas.a && - export LAPACK=$LAPACK_LIB_DIR/liblapack.a && - export ATLAS=$ATLAS_LIB_DIR/libatlas.a && - python setup.py install --home $INSTALL_DIR --install-scripts $INSTALL_DIR/bin</action> - <action type="set_environment"> - <environment_variable action="append_to" name="PYTHONPATH">$INSTALL_DIR/lib/python</environment_variable> - <environment_variable action="set_to" name="PYTHONPATH_NUMPY">$INSTALL_DIR/lib/python</environment_variable> - <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable> - </action> - </actions> - </install> - <readme>Compiling numpy requires a C and Fortran compiler (typically gcc and gfortran). The PYTHONPATH for numpy can be accessed through PYTHONPATH_NUMPY.</readme> - </package> + <package name="openbabel" version="2.3.2"> + <repository changeset_revision="efffcee80e03" name="package_openbabel_2_3" owner="bgruening" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" /> + </package> + <package name="graphicsmagick" version="1.3.18"> + <repository changeset_revision="34f511310435" name="package_graphicsmagick_1_3" owner="bgruening" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" /> + </package> + <package name="osra" version="1.4.0"> + <install version="1.0"> + <actions> + + <action type="download_by_url">http://downloads.sourceforge.net/project/osra/osra/2.0.0/osra-2.0.0.tgz</action> + + + <action type="set_environment_for_install"> + <repository changeset_revision="efffcee80e03" name="package_openbabel_2_3" owner="bgruening" toolshed="http://testtoolshed.g2.bx.psu.edu"> + <package name="openbabel" version="2.3.2" /> + </repository> + <repository changeset_revision="34f511310435" name="package_graphicsmagick_1_3" owner="bgruening" toolshed="http://testtoolshed.g2.bx.psu.edu"> + <package name="graphicsmagick" version="1.3.18" /> + </repository> + </action> + + + <action type="shell_command">wget http://potrace.sourceforge.net/download/potrace-1.11.tar.gz</action> + <action type="shell_command">tar xfvz potrace-1.11.tar.gz && cd potrace-1.11 && ./configure --with-libpotrace --prefix=$INSTALL_DIR/potrace/build && make && make install</action> + + + <action type="shell_command">wget http://www-e.uni-magdeburg.de/jschulen/ocr/gocr-0.50.tar.gz</action> + <action type="shell_command">tar xfvz gocr-0.50.tar.gz && cd gocr-0.50 && ./configure --prefix=$INSTALL_DIR/gocr/build && make libs && make all install</action> + + + <action type="shell_command">wget http://downloads.sourceforge.net/project/tclap/tclap-1.2.1.tar.gz</action> + <action type="shell_command">tar xfvz tclap-1.2.1.tar.gz && cd tclap-1.2.1 && ./configure --prefix=$INSTALL_DIR/tclap/build && make && make install</action> + + + <action type="shell_command">wget http://mirror.checkdomain.de/gnu/ocrad/ocrad-0.21.tar.gz</action> + <action type="shell_command">tar xfvz ocrad-0.21.tar.gz && cd ocrad-0.21 && ./configure --prefix=$INSTALL_DIR/ocrad/build && make && make install</action> + + + <action type="shell_command">wget https://launchpad.net/cuneiform-linux/1.1/1.1/+download/cuneiform-linux-1.1.0.tar.bz2</action> + <action type="shell_command">tar xfvj cuneiform-linux-1.1.0.tar.bz2 && cd cuneiform-linux-1.1.0 && mkdir build && cd build && cmake .. -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR/cuneiform/build/ && make && make install</action> + + + + <action type="shell_command">export PATH=$PATH:$GRAPHICSMAGICK_ROOT_DIR/bin/ && ./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> + <action type="shell_command">make</action> + <action type="shell_command">make install</action> + + <action type="shell_command">rm $INSTALL_DIR/tclap/ -r</action> + + <action type="shell_command">rm $INSTALL_DIR/gocr/ -r</action> + <action type="shell_command">rm $INSTALL_DIR/ocrad/ -r</action> + <action type="shell_command">rm $INSTALL_DIR/cuneiform/ -r</action> + + <action type="set_environment"> + <environment_variable action="prepend_to" name="LD_LIBRARY_PATH">$GRAPHICSMAGICK_ROOT_DIR/lib/</environment_variable> + <environment_variable action="prepend_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/potrace/build/lib/</environment_variable> + <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable> + + <environment_variable action="set_to" name="OSRA_DATA_FILES">$INSTALL_DIR/share</environment_variable> + </action> + </actions> + </install> + <readme>We still have a handfull of requirements</readme> + </package> </tool_dependency> \ No newline at end of file
