source: extensions/gsdl-ocr/trunk/packages/cmdline/CASCADE-MAKE/OCROPUS.sh@ 16800

Last change on this file since 16800 was 16800, checked in by davidb, 16 years ago

Creation of Greenstone extension for OCR support

File size: 707 bytes
Line 
1#!/bin/bash
2
3package=ocropus
4version=-0.2
5
6progname=$0
7
8source ../../bin/script/test-setup.bash
9source ../../lib/cascade-lib.bash
10
11prefix=$GEXTOCR_INSTALLED/cmdline
12
13opt_run_untar $force_untar $auto_untar $package $version
14opt_run_configure $force_config $auto_config $package $version "$prefix" \
15 "--with-tesseract=$prefix \
16 CFLAGS=-I$prefix/include \
17 CXXFLAGS=-I$prefix/include \
18 CPPFLAGS=-I$prefix/include \
19 LDFLAGS=-L$prefix/lib"
20
21
22opt_run_make $compile $package $version
23opt_run_make $install $package $version "install"
24opt_run_make $clean $package $version "clean"
25opt_run_make $distclean $package $version "distclean"
26
27opt_run_tarclean $tarclean $package $version
28
29
Note: See TracBrowser for help on using the repository browser.