source: gs2-extensions/ocr/trunk/packages/cmdline/CASCADE-MAKE/TESSERACT.sh@ 30076

Last change on this file since 30076 was 30076, checked in by davidb, 9 years ago

Tweaks to CASCADE-MAKE files so it compiles up with the 2015 version of Tesseract

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