tesseract-lang.inc 458 B

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