Commit 0626fb29 authored by Łukasz Nowak's avatar Łukasz Nowak

- compile against locally available libraries


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43017 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 906d6c32
[buildout] [buildout]
extends =
jbigkit.cfg
libjpeg.cfg
libpng.cfg
libtiff.cfg
zlib.cfg
parts = parts =
tesseract tesseract
tesseract-eng-traineddata tesseract-eng-traineddata
...@@ -8,6 +15,9 @@ parts = ...@@ -8,6 +15,9 @@ parts =
recipe = hexagonit.recipe.cmmi recipe = hexagonit.recipe.cmmi
url = http://tesseract-ocr.googlecode.com/files/tesseract-3.00.tar.gz url = http://tesseract-ocr.googlecode.com/files/tesseract-3.00.tar.gz
md5sum = cc812a261088ea0c3d2da735be35d09f md5sum = cc812a261088ea0c3d2da735be35d09f
environment =
CPPFLAGS=-I${zlib:location}/include -I${jbigkit:location}/include -I${libjpeg:location}/include -I${libtiff:location}/include -I${libpng:location}/include
LDFLAGS =-Wl,-rpath -L${zlib:location}/lib -Wl,${zlib:location}/lib -L${jbigkit:location}/lib -Wl,-rpath -Wl,${jbigkit:location}/lib -L${libjpeg:location}/lib -Wl,-rpath -Wl,${libjpeg:location}/lib -L${libtiff:location}/lib -Wl,-rpath -Wl,${libtiff:location}/lib -L${libpng:location}/lib -Wl,-rpath -Wl,${libpng:location}/lib
[tesseract-eng-traineddata] [tesseract-eng-traineddata]
recipe = hexagonit.recipe.download recipe = hexagonit.recipe.download
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment