source: gs2-extensions/ocr/trunk/packages/cmdline/CASCADE-MAKE/LEPTONICA.sh@ 30198

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

Small tweaks to help compilation

  • Property svn:executable set to *
File size: 617 bytes
Line 
1#!/bin/bash
2
3package=leptonica
4version=-1.72
5
6progname=$0
7
8source ../../bin/script/test-setup.bash
9source ../../lib/cascade-lib.bash
10
11prefix=$GEXTOCR_INSTALLED/cmdline
12
13export CFLAGS="-fPIC -I$prefix/include"
14export LDFLAGS=-L$prefix/lib
15
16opt_run_untar $force_untar $auto_untar $package $version
17opt_run_configure $force_config $auto_config $package $version "$prefix"
18
19opt_run_make $compile $package $version
20opt_run_make $install $package $version "install"
21opt_run_make $clean $package $version "clean"
22opt_run_make $distclean $package $version "distclean"
23
24opt_run_tarclean $tarclean $package $version
25
26
Note: See TracBrowser for help on using the repository browser.