summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/tesseract
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2015-06-11 17:01:58 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2015-06-17 22:36:12 +0200
commit41fe0f663ecbf4a739d93b7b62e053336ea64709 (patch)
tree112e5b2d492e657befe9be41e4d3001c23c3af69 /meta-oe/recipes-graphics/tesseract
parentc7ffe8da924e188d2bb199766b1cdeae0d904a19 (diff)
downloadmeta-openembedded-41fe0f663ecbf4a739d93b7b62e053336ea64709.tar.gz
tesseract-lang.inc: set ${S} to fix the QA warning
The ${S} is not set in the recipe cause the QA warning: WARNING: tesseract-lang-eng: the directory ${WORKDIR}/${BP} (/buildarea2/build/tmp/work/all-poky-linux/tesseract-lang-eng/3.02-r0/tesseract-lang-eng-3.02) pointed to by the S variable doesn't exist - please set S within the recipe to point to where the source has been unpacked to Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Diffstat (limited to 'meta-oe/recipes-graphics/tesseract')
-rw-r--r--meta-oe/recipes-graphics/tesseract/tesseract-lang.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-oe/recipes-graphics/tesseract/tesseract-lang.inc b/meta-oe/recipes-graphics/tesseract/tesseract-lang.inc
index 7f69eb174..c40c71d34 100644
--- a/meta-oe/recipes-graphics/tesseract/tesseract-lang.inc
+++ b/meta-oe/recipes-graphics/tesseract/tesseract-lang.inc
@@ -3,11 +3,13 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5
3 3
4SRC_URI = "https://tesseract-ocr.googlecode.com/files/tesseract-ocr-${PV}.${TESSERACT_LANG}.tar.gz" 4SRC_URI = "https://tesseract-ocr.googlecode.com/files/tesseract-ocr-${PV}.${TESSERACT_LANG}.tar.gz"
5 5
6S = "${WORKDIR}/tesseract-ocr"
7
6inherit allarch 8inherit allarch
7 9
8do_install() { 10do_install() {
9 install -d ${D}${datadir}/tessdata 11 install -d ${D}${datadir}/tessdata
10 cp ${WORKDIR}/tesseract-ocr/tessdata/${TESSERACT_LANG}.traineddata ${D}${datadir}/tessdata 12 cp ${S}/tessdata/${TESSERACT_LANG}.traineddata ${D}${datadir}/tessdata
11} 13}
12 14
13FILES_${PN} += "${datadir}/tessdata" 15FILES_${PN} += "${datadir}/tessdata"