diff --git a/buildout/software-profiles/tesseract.cfg b/buildout/software-profiles/tesseract.cfg new file mode 100644 index 0000000000000000000000000000000000000000..e1482e632c9512dd8e0ffbb0990293451505f053 --- /dev/null +++ b/buildout/software-profiles/tesseract.cfg @@ -0,0 +1,21 @@ +[buildout] +parts += tesseract + tesseract-eng-traineddata + tesseract-eng-traineddata-unzip + +[tesseract] +recipe = hexagonit.recipe.cmmi +url = http://tesseract-ocr.googlecode.com/files/tesseract-3.00.tar.gz +md5sum = cc812a261088ea0c3d2da735be35d09f + +[tesseract-eng-traineddata] +recipe = hexagonit.recipe.download +download-only = true +url = http://tesseract-ocr.googlecode.com/files/eng.traineddata.gz +md5sum = d91041ad156cf2db36664e91ef799451 + +[tesseract-eng-traineddata-unzip] +recipe = plone.recipe.command +command = gunzip parts/tesseract-eng-traineddata/eng.traineddata.gz -c > parts/tesseract/share/tessdata/eng.traineddata +update-command = ${:command} +stop-on-error = yes