Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | LICENSE = "Apache-2.0" |
| 2 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" |
| 3 | |
| 4 | SRC_URI = "https://tesseract-ocr.googlecode.com/files/tesseract-ocr-${PV}.${TESSERACT_LANG}.tar.gz" |
| 5 | |
| 6 | S = "${WORKDIR}/tesseract-ocr" |
| 7 | |
| 8 | inherit allarch |
| 9 | |
| 10 | do_install() { |
| 11 | install -d ${D}${datadir}/tessdata |
| 12 | cp ${S}/tessdata/${TESSERACT_LANG}.traineddata ${D}${datadir}/tessdata |
| 13 | } |
| 14 | |
| 15 | FILES_${PN} += "${datadir}/tessdata" |