summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/tesseract/tesseract-lang.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-graphics/tesseract/tesseract-lang.inc')
-rw-r--r--meta-oe/recipes-graphics/tesseract/tesseract-lang.inc15
1 files changed, 15 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/tesseract/tesseract-lang.inc b/meta-oe/recipes-graphics/tesseract/tesseract-lang.inc
new file mode 100644
index 000000000..542cc6ed6
--- /dev/null
+++ b/meta-oe/recipes-graphics/tesseract/tesseract-lang.inc
@@ -0,0 +1,15 @@
1LICENSE = "Apache-2.0"
2LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
3
4SRC_URI = "https://tesseract-ocr.googlecode.com/files/tesseract-ocr-${PV}.${TESSERACT_LANG}.tar.gz"
5
6inherit allarch
7
8do_install() {
9 install -d ${D}${datadir}/tessdata
10 cp ${WORKDIR}/tesseract-ocr/tessdata/${TESSERACT_LANG}.traineddata ${D}${datadir}/tessdata
11}
12
13RDEPENDS_${PN} = "tesseract"
14
15FILES_${PN} += "${datadir}/tessdata"