root/gs2-extensions/ocr/trunk/packages/cmdline/CASCADE-MAKE.sh @ 30198

Revision 30198, 0.7 KB (checked in by davidb, 4 years ago)

Additional packages thanks to Zach's hard work improving OCR

Line 
1#!/bin/bash
2
3if [ ! -d "$GEXTOCR_INSTALLED/cmdline" ] ; then
4  echo "    Making directory \"$GEXTOCR_INSTALLED/cmdline\""
5  mkdir "$GEXTOCR_INSTALLED/cmdline"
6fi
7
8
9##for d in LIBTIFF LEPTONICA LIBPNG LIBJPEG TESSERACT OCROPUS ; do
10#for d in LIBTIFF LIBPNG LIBJPEG LEPTONICA TESSERACT PYTHON OCROPY UNPAPER ; do
11#for d in LIBVIPS OCROPY ; do
12#for d in LIBTIFF LIBPNG LIBJPEG LEPTONICA TESSERACT UNPAPER HTMLTOKE PYTHON LIBXML VIPS ; do
13#for d in LIBXML VIPS ; do
14for d in LIBTIFF LIBPNG LIBJPEG LEPTONICA TESSERACT LIBXML YASM FFMPEG UNPAPER HTMLTOKE ; do
15  echo "    Running CASCADE-MAKE/$d.sh $*"
16
17  ./CASCADE-MAKE/$d.sh $*
18
19  if [ $? != 0 ] ; then
20    echo "    Error encountered running CASCADE-COMPILE/$d.sh"
21    exit 1
22  fi
23done
Note: See TracBrowser for help on using the browser.