blob: 542cc6ed63d63c735331510d7fda60bb2f5f7deb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
SRC_URI = "https://tesseract-ocr.googlecode.com/files/tesseract-ocr-${PV}.${TESSERACT_LANG}.tar.gz"
inherit allarch
do_install() {
install -d ${D}${datadir}/tessdata
cp ${WORKDIR}/tesseract-ocr/tessdata/${TESSERACT_LANG}.traineddata ${D}${datadir}/tessdata
}
RDEPENDS_${PN} = "tesseract"
FILES_${PN} += "${datadir}/tessdata"
|