Mercurial > repos > bgruening > upload_testing
annotate tool_dependencies.xml @ 12:6e8a2c378380
and a new one, now with also with post-commit-hook
| author | Bjoern Gruening <bjoern.gruening@gmail.com> |
|---|---|
| date | Mon, 27 May 2013 02:09:50 +0200 |
| parents | 4d143bdb5479 |
| children | 63b25d6468d4 |
| rev | line source |
|---|---|
| 0 | 1 <tool_dependency> |
| 3 | 2 <package name="openbabel" version="2.3.2"> |
|
10
99a19beda475
and a new one, now with also with post-commit-hook
Bjoern Gruening <bjoern.gruening@gmail.com>
parents:
9
diff
changeset
|
3 <repository name="package_openbabel_2_3" owner="bgruening" prior_installation_required="True" /> |
| 3 | 4 </package> |
| 5 <package name="graphicsmagick" version="1.3.18"> | |
|
10
99a19beda475
and a new one, now with also with post-commit-hook
Bjoern Gruening <bjoern.gruening@gmail.com>
parents:
9
diff
changeset
|
6 <repository name="package_graphicsmagick_1_3" owner="bgruening" prior_installation_required="True" /> |
| 3 | 7 </package> |
| 4 | 8 <package name="osra" version="2.0.0"> |
| 3 | 9 <install version="1.0"> |
| 10 <actions> | |
| 6 | 11 |
| 3 | 12 <action type="download_by_url">http://downloads.sourceforge.net/project/osra/osra/2.0.0/osra-2.0.0.tgz</action> |
| 13 | |
| 6 | 14 |
| 3 | 15 <action type="set_environment_for_install"> |
| 8 | 16 <repository changeset_revision="ccda1b8ebc72" name="package_openbabel_2_3" owner="bgruening" toolshed="http://testtoolshed.g2.bx.psu.edu/"> |
| 3 | 17 <package name="openbabel" version="2.3.2" /> |
| 18 </repository> | |
|
12
6e8a2c378380
and a new one, now with also with post-commit-hook
Bjoern Gruening <bjoern.gruening@gmail.com>
parents:
11
diff
changeset
|
19 <repository name="package_graphicsmagick_1_3" owner="bgruening"> |
| 3 | 20 <package name="graphicsmagick" version="1.3.18" /> |
| 21 </repository> | |
| 22 </action> | |
| 23 | |
| 6 | 24 |
| 3 | 25 <action type="shell_command">wget http://potrace.sourceforge.net/download/potrace-1.11.tar.gz</action> |
| 26 <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> | |
| 27 | |
| 6 | 28 |
| 29 | |
| 5 | 30 <action type="shell_command">wget http://downloads.sourceforge.net/project/osra/gocr-patched/gocr-0.50pre-patched.tgz</action> |
| 31 <action type="shell_command">tar xfvz gocr-0.50pre-patched.tgz && cd gocr-0.50pre-patched && ./configure --prefix=$INSTALL_DIR/gocr/build && make libs && make all install</action> | |
| 3 | 32 |
| 5 | 33 |
| 6 | 34 |
| 3 | 35 <action type="shell_command">wget http://downloads.sourceforge.net/project/tclap/tclap-1.2.1.tar.gz</action> |
| 36 <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> | |
| 37 | |
| 6 | 38 |
| 3 | 39 <action type="shell_command">wget http://mirror.checkdomain.de/gnu/ocrad/ocrad-0.21.tar.gz</action> |
| 40 <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> | |
| 41 | |
| 6 | 42 |
| 3 | 43 <action type="shell_command">wget https://launchpad.net/cuneiform-linux/1.1/1.1/+download/cuneiform-linux-1.1.0.tar.bz2</action> |
| 44 <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> | |
| 45 | |
| 6 | 46 |
| 47 | |
| 5 | 48 <action type="shell_command">export PATH=$PATH:$GRAPHICSMAGICK_ROOT_DIR/bin/ && |
| 49 ./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> | |
| 3 | 50 <action type="shell_command">make</action> |
| 51 <action type="shell_command">make install</action> | |
| 52 | |
| 53 <action type="shell_command">rm $INSTALL_DIR/tclap/ -r</action> | |
| 6 | 54 |
| 3 | 55 <action type="shell_command">rm $INSTALL_DIR/gocr/ -r</action> |
| 56 <action type="shell_command">rm $INSTALL_DIR/ocrad/ -r</action> | |
| 57 <action type="shell_command">rm $INSTALL_DIR/cuneiform/ -r</action> | |
| 58 | |
| 59 <action type="set_environment"> | |
| 6 | 60 <environment_variable action="prepend_to" name="LD_LIBRARY_PATH">$GRAPHICSMAGICK_ROOT_DIR/lib/</environment_variable> |
| 61 <environment_variable action="prepend_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/potrace/build/lib/</environment_variable> | |
| 62 <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable> | |
| 63 | |
| 64 <environment_variable action="set_to" name="OSRA_DATA_FILES">$INSTALL_DIR/share</environment_variable> | |
| 3 | 65 </action> |
| 66 </actions> | |
| 67 </install> | |
| 68 <readme>We still have a handfull of requirements</readme> | |
| 69 </package> | |
| 8 | 70 </tool_dependency> |
