[Erp5-report] r43017 luke - /erp5/trunk/buildout/software-profiles/tesseract.cfg

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Feb 4 10:26:40 CET 2011


Author: luke
Date: Fri Feb  4 10:26:39 2011
New Revision: 43017

URL: http://svn.erp5.org?rev=43017&view=rev
Log:
 - compile against locally available libraries

Modified:
    erp5/trunk/buildout/software-profiles/tesseract.cfg

Modified: erp5/trunk/buildout/software-profiles/tesseract.cfg
URL: http://svn.erp5.org/erp5/trunk/buildout/software-profiles/tesseract.cfg?rev=43017&r1=43016&r2=43017&view=diff
==============================================================================
--- erp5/trunk/buildout/software-profiles/tesseract.cfg [utf8] (original)
+++ erp5/trunk/buildout/software-profiles/tesseract.cfg [utf8] Fri Feb  4 10:26:39 2011
@@ -1,4 +1,11 @@
 [buildout]
+extends =
+  jbigkit.cfg
+  libjpeg.cfg
+  libpng.cfg
+  libtiff.cfg
+  zlib.cfg
+
 parts =
   tesseract
   tesseract-eng-traineddata
@@ -8,6 +15,9 @@ parts =
 recipe = hexagonit.recipe.cmmi
 url = http://tesseract-ocr.googlecode.com/files/tesseract-3.00.tar.gz
 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]
 recipe = hexagonit.recipe.download



More information about the Erp5-report mailing list