aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/tesseract
diff options
context:
space:
mode:
authorMario Domenech Goulart <mario@ossystems.com.br>2014-05-26 09:57:43 -0300
committerMartin Jansa <Martin.Jansa@gmail.com>2014-06-10 12:16:23 +0200
commit9d655b7b720f84f93c7344a9fccbaea151e44d20 (patch)
tree54f1b233c4d2945d1cfa25e4c2f0adfcb11f2d84 /meta-oe/recipes-graphics/tesseract
parent212e9d890755864ff2447d2e5072dd01433b074c (diff)
downloadmeta-openembedded-contrib-9d655b7b720f84f93c7344a9fccbaea151e44d20.tar.gz
meta-openembedded-contrib-9d655b7b720f84f93c7344a9fccbaea151e44d20.tar.bz2
meta-openembedded-contrib-9d655b7b720f84f93c7344a9fccbaea151e44d20.zip
tesseract: add recipe for version 3.02.02
Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-graphics/tesseract')
-rw-r--r--meta-oe/recipes-graphics/tesseract/tesseract_3.02.02.bb20
1 files changed, 20 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/tesseract/tesseract_3.02.02.bb b/meta-oe/recipes-graphics/tesseract/tesseract_3.02.02.bb
new file mode 100644
index 0000000000..72bd423b8a
--- /dev/null
+++ b/meta-oe/recipes-graphics/tesseract/tesseract_3.02.02.bb
@@ -0,0 +1,20 @@
+DESCRIPTION = "A commercial quality OCR engine "
+
+DEPENDS = "leptonica"
+
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://COPYING;md5=c0c94b3c86ad0c386bb6dec70ca8a36a"
+
+SRC_URI = "https://tesseract-ocr.googlecode.com/files/tesseract-ocr-${PV}.tar.gz"
+SRC_URI[md5sum] = "26adc8154f0e815053816825dde246e6"
+SRC_URI[sha256sum] = "26cd39cb3f2a6f6f1bf4050d1cc0aae35edee49eb49a92df3cb7f9487caa013d"
+
+EXTRA_OECONF += "LIBLEPT_HEADERSDIR=${STAGING_INCDIR}/leptonica"
+
+S = "${WORKDIR}/tesseract-ocr"
+
+inherit autotools pkgconfig
+
+FILES_${PN} += "${datadir}/tessdata"
+
+RRECOMMENDS_${PN} += "tesseract-lang-eng"