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 |
|
---|
3 | package=ocropus
|
---|
4 | version=-0.2
|
---|
5 |
|
---|
6 | progname=$0
|
---|
7 |
|
---|
8 | source ../../bin/script/test-setup.bash
|
---|
9 | source ../../lib/cascade-lib.bash
|
---|
10 |
|
---|
11 | prefix=$GEXTOCR_INSTALLED/cmdline
|
---|
12 |
|
---|
13 | opt_run_untar $force_untar $auto_untar $package $version
|
---|
14 | opt_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 |
|
---|
22 | opt_run_make $compile $package $version
|
---|
23 | opt_run_make $install $package $version "install"
|
---|
24 | opt_run_make $clean $package $version "clean"
|
---|
25 | opt_run_make $distclean $package $version "distclean"
|
---|
26 |
|
---|
27 | opt_run_tarclean $tarclean $package $version
|
---|
28 |
|
---|
29 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.