Patchwork [meta-oe,2/3] tesseract: add recipe for version 3.02.02

login
register
mail settings
Submitter Mario Domenech Goulart
Date May 26, 2014, 12:57 p.m.
Message ID <1401109064-30223-2-git-send-email-mario@ossystems.com.br>
Download mbox | patch
Permalink /patch/72697/
State Accepted, archived
Headers show

Comments

Mario Domenech Goulart - May 26, 2014, 12:57 p.m.
Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
---
 .../tesseract/tesseract_3.02.02.bb                 |   20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 meta-oe/recipes-graphics/tesseract/tesseract_3.02.02.bb

Patch

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 0000000..72bd423
--- /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"