|
@@ -3,11 +3,13 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5
|
|
|
|
|
|
SRC_URI = "https://tesseract-ocr.googlecode.com/files/tesseract-ocr-${PV}.${TESSERACT_LANG}.tar.gz"
|
|
|
|
|
|
+S = "${WORKDIR}/tesseract-ocr"
|
|
|
+
|
|
|
inherit allarch
|
|
|
|
|
|
do_install() {
|
|
|
install -d ${D}${datadir}/tessdata
|
|
|
- cp ${WORKDIR}/tesseract-ocr/tessdata/${TESSERACT_LANG}.traineddata ${D}${datadir}/tessdata
|
|
|
+ cp ${S}/tessdata/${TESSERACT_LANG}.traineddata ${D}${datadir}/tessdata
|
|
|
}
|
|
|
|
|
|
FILES_${PN} += "${datadir}/tessdata"
|