Mercurial > repos > bgruening > osra
comparison tool_dependencies.xml @ 1:0916781bc971 draft
Uploaded
author | bgruening |
---|---|
date | Sun, 20 Apr 2014 09:03:07 -0400 |
parents | 34ae5f2ae450 |
children | d2490712b67d |
comparison
equal
deleted
inserted
replaced
0:34ae5f2ae450 | 1:0916781bc971 |
---|---|
21 <package name="graphicsmagick" version="1.3.18" /> | 21 <package name="graphicsmagick" version="1.3.18" /> |
22 </repository> | 22 </repository> |
23 </action> | 23 </action> |
24 | 24 |
25 <!--compiling potrace-1.11 --> | 25 <!--compiling potrace-1.11 --> |
26 <action type="shell_command">wget http://potrace.sourceforge.net/download/potrace-1.11.tar.gz</action> | 26 <action type="download_file">http://potrace.sourceforge.net/download/potrace-1.11.tar.gz</action> |
27 <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 <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> |
28 | 28 |
29 <!--compiling gocr 0.50patched --> | 29 <!--compiling gocr 0.50patched --> |
30 <!-- not yet possible | 30 <!-- not yet possible |
31 <action type="shell_command">wget http://www-e.uni-magdeburg.de/jschulen/ocr/gocr-0.50.tar.gz</action> | 31 <action type="download_file">http://www-e.uni-magdeburg.de/jschulen/ocr/gocr-0.50.tar.gz</action> |
32 <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> | 32 <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> |
33 --> | 33 --> |
34 <action type="shell_command">wget http://downloads.sourceforge.net/project/osra/gocr-patched/gocr-0.50pre-patched.tgz</action> | 34 <action type="download_file">http://downloads.sourceforge.net/project/osra/gocr-patched/gocr-0.50pre-patched.tgz</action> |
35 <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> | 35 <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> |
36 | 36 |
37 | 37 |
38 <!--compiling tclap 1.2.1 --> | 38 <!--compiling tclap 1.2.1 --> |
39 <action type="shell_command">wget http://downloads.sourceforge.net/project/tclap/tclap-1.2.1.tar.gz</action> | 39 <action type="download_file">http://downloads.sourceforge.net/project/tclap/tclap-1.2.1.tar.gz</action> |
40 <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> | 40 <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> |
41 | 41 |
42 <!--compiling ocrad 0.21 --> | 42 <!--compiling ocrad 0.21 --> |
43 <action type="shell_command">wget http://mirror.checkdomain.de/gnu/ocrad/ocrad-0.21.tar.gz</action> | 43 <action type="download_file">http://mirror.checkdomain.de/gnu/ocrad/ocrad-0.21.tar.gz</action> |
44 <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> | 44 <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> |
45 | 45 |
46 <!--compiling cuneiform 1.1.0 --> | 46 <!--compiling cuneiform 1.1.0 --> |
47 <action type="shell_command">wget https://launchpad.net/cuneiform-linux/1.1/1.1/+download/cuneiform-linux-1.1.0.tar.bz2</action> | 47 <action type="download_file">https://launchpad.net/cuneiform-linux/1.1/1.1/+download/cuneiform-linux-1.1.0.tar.bz2</action> |
48 <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> | 48 <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> |
49 | 49 |
50 <!--And finally OSRA 1.4.0--> | 50 <!--And finally OSRA 1.4.0--> |
51 <!-- Extending the PATH is needed for OSRA --> | 51 <!-- Extending the PATH is needed for OSRA --> |
52 <action type="shell_command">export PATH=$PATH:$GRAPHICSMAGICK_ROOT_DIR/bin/ && | 52 <action type="shell_command">export PATH=$PATH:$GRAPHICSMAGICK_ROOT_DIR/bin/ && |
53 ./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> | 53 ./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/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> |
54 <action type="shell_command">make</action> | 54 <action type="shell_command">make</action> |
55 <action type="shell_command">make install</action> | 55 <action type="shell_command">make install</action> |
56 | 56 |
57 <action type="shell_command">rm $INSTALL_DIR/tclap/ -r</action> | 57 <action type="shell_command">rm $INSTALL_DIR/tclap/ -r</action> |
58 <!--<action type="shell_command">rm $INSTALL_DIR/openbabel/ -r</action>--> | 58 <!--<action type="shell_command">rm $INSTALL_DIR/openbabel/ -r</action>--> |