From 07d6f4709525983834b0af144f3fc30fbc92c28e Mon Sep 17 00:00:00 2001 From: jbu Date: Thu, 28 May 2015 14:44:06 +0200 Subject: [PATCH] New package: tesseract-ocr-3.02.02 --- common/shlibs | 1 + srcpkgs/tesseract-ocr-afr | 1 + srcpkgs/tesseract-ocr-all | 1 + srcpkgs/tesseract-ocr-ara | 1 + srcpkgs/tesseract-ocr-aze | 1 + srcpkgs/tesseract-ocr-basic | 1 + srcpkgs/tesseract-ocr-bel | 1 + srcpkgs/tesseract-ocr-ben | 1 + srcpkgs/tesseract-ocr-bul | 1 + srcpkgs/tesseract-ocr-cat | 1 + srcpkgs/tesseract-ocr-ces | 1 + srcpkgs/tesseract-ocr-chi_sim | 1 + srcpkgs/tesseract-ocr-chi_tra | 1 + srcpkgs/tesseract-ocr-chr | 1 + srcpkgs/tesseract-ocr-dan | 1 + srcpkgs/tesseract-ocr-deu | 1 + srcpkgs/tesseract-ocr-devel | 1 + srcpkgs/tesseract-ocr-ell | 1 + srcpkgs/tesseract-ocr-eng | 1 + srcpkgs/tesseract-ocr-enm | 1 + srcpkgs/tesseract-ocr-epo | 1 + srcpkgs/tesseract-ocr-epo_alt | 1 + srcpkgs/tesseract-ocr-equ | 1 + srcpkgs/tesseract-ocr-est | 1 + srcpkgs/tesseract-ocr-eus | 1 + srcpkgs/tesseract-ocr-fin | 1 + srcpkgs/tesseract-ocr-fra | 1 + srcpkgs/tesseract-ocr-frk | 1 + srcpkgs/tesseract-ocr-frm | 1 + srcpkgs/tesseract-ocr-glg | 1 + srcpkgs/tesseract-ocr-grc | 1 + srcpkgs/tesseract-ocr-heb | 1 + srcpkgs/tesseract-ocr-hin | 1 + srcpkgs/tesseract-ocr-hrv | 1 + srcpkgs/tesseract-ocr-hun | 1 + srcpkgs/tesseract-ocr-ind | 1 + srcpkgs/tesseract-ocr-ipa_old | 1 + srcpkgs/tesseract-ocr-isl | 1 + srcpkgs/tesseract-ocr-ita | 1 + srcpkgs/tesseract-ocr-ita_old | 1 + srcpkgs/tesseract-ocr-jpn | 1 + srcpkgs/tesseract-ocr-kan | 1 + srcpkgs/tesseract-ocr-kor | 1 + srcpkgs/tesseract-ocr-lav | 1 + srcpkgs/tesseract-ocr-lit | 1 + srcpkgs/tesseract-ocr-mal | 1 + srcpkgs/tesseract-ocr-mkd | 1 + srcpkgs/tesseract-ocr-mlt | 1 + srcpkgs/tesseract-ocr-msa | 1 + srcpkgs/tesseract-ocr-nld | 1 + srcpkgs/tesseract-ocr-nor | 1 + srcpkgs/tesseract-ocr-pol | 1 + srcpkgs/tesseract-ocr-por | 1 + srcpkgs/tesseract-ocr-ron | 1 + srcpkgs/tesseract-ocr-rus | 1 + srcpkgs/tesseract-ocr-slk | 1 + srcpkgs/tesseract-ocr-slv | 1 + srcpkgs/tesseract-ocr-spa | 1 + srcpkgs/tesseract-ocr-spa_old | 1 + srcpkgs/tesseract-ocr-sqi | 1 + srcpkgs/tesseract-ocr-srp | 1 + srcpkgs/tesseract-ocr-swa | 1 + srcpkgs/tesseract-ocr-swe | 1 + srcpkgs/tesseract-ocr-tam | 1 + srcpkgs/tesseract-ocr-tel | 1 + srcpkgs/tesseract-ocr-tgl | 1 + srcpkgs/tesseract-ocr-tha | 1 + srcpkgs/tesseract-ocr-tools | 1 + srcpkgs/tesseract-ocr-tur | 1 + srcpkgs/tesseract-ocr-ukr | 1 + srcpkgs/tesseract-ocr-vie | 1 + srcpkgs/tesseract-ocr/INSTALL.msg | 2 + srcpkgs/tesseract-ocr/template | 999 ++++++++++++++++++++++++++++++ 73 files changed, 1072 insertions(+) create mode 120000 srcpkgs/tesseract-ocr-afr create mode 120000 srcpkgs/tesseract-ocr-all create mode 120000 srcpkgs/tesseract-ocr-ara create mode 120000 srcpkgs/tesseract-ocr-aze create mode 120000 srcpkgs/tesseract-ocr-basic create mode 120000 srcpkgs/tesseract-ocr-bel create mode 120000 srcpkgs/tesseract-ocr-ben create mode 120000 srcpkgs/tesseract-ocr-bul create mode 120000 srcpkgs/tesseract-ocr-cat create mode 120000 srcpkgs/tesseract-ocr-ces create mode 120000 srcpkgs/tesseract-ocr-chi_sim create mode 120000 srcpkgs/tesseract-ocr-chi_tra create mode 120000 srcpkgs/tesseract-ocr-chr create mode 120000 srcpkgs/tesseract-ocr-dan create mode 120000 srcpkgs/tesseract-ocr-deu create mode 120000 srcpkgs/tesseract-ocr-devel create mode 120000 srcpkgs/tesseract-ocr-ell create mode 120000 srcpkgs/tesseract-ocr-eng create mode 120000 srcpkgs/tesseract-ocr-enm create mode 120000 srcpkgs/tesseract-ocr-epo create mode 120000 srcpkgs/tesseract-ocr-epo_alt create mode 120000 srcpkgs/tesseract-ocr-equ create mode 120000 srcpkgs/tesseract-ocr-est create mode 120000 srcpkgs/tesseract-ocr-eus create mode 120000 srcpkgs/tesseract-ocr-fin create mode 120000 srcpkgs/tesseract-ocr-fra create mode 120000 srcpkgs/tesseract-ocr-frk create mode 120000 srcpkgs/tesseract-ocr-frm create mode 120000 srcpkgs/tesseract-ocr-glg create mode 120000 srcpkgs/tesseract-ocr-grc create mode 120000 srcpkgs/tesseract-ocr-heb create mode 120000 srcpkgs/tesseract-ocr-hin create mode 120000 srcpkgs/tesseract-ocr-hrv create mode 120000 srcpkgs/tesseract-ocr-hun create mode 120000 srcpkgs/tesseract-ocr-ind create mode 120000 srcpkgs/tesseract-ocr-ipa_old create mode 120000 srcpkgs/tesseract-ocr-isl create mode 120000 srcpkgs/tesseract-ocr-ita create mode 120000 srcpkgs/tesseract-ocr-ita_old create mode 120000 srcpkgs/tesseract-ocr-jpn create mode 120000 srcpkgs/tesseract-ocr-kan create mode 120000 srcpkgs/tesseract-ocr-kor create mode 120000 srcpkgs/tesseract-ocr-lav create mode 120000 srcpkgs/tesseract-ocr-lit create mode 120000 srcpkgs/tesseract-ocr-mal create mode 120000 srcpkgs/tesseract-ocr-mkd create mode 120000 srcpkgs/tesseract-ocr-mlt create mode 120000 srcpkgs/tesseract-ocr-msa create mode 120000 srcpkgs/tesseract-ocr-nld create mode 120000 srcpkgs/tesseract-ocr-nor create mode 120000 srcpkgs/tesseract-ocr-pol create mode 120000 srcpkgs/tesseract-ocr-por create mode 120000 srcpkgs/tesseract-ocr-ron create mode 120000 srcpkgs/tesseract-ocr-rus create mode 120000 srcpkgs/tesseract-ocr-slk create mode 120000 srcpkgs/tesseract-ocr-slv create mode 120000 srcpkgs/tesseract-ocr-spa create mode 120000 srcpkgs/tesseract-ocr-spa_old create mode 120000 srcpkgs/tesseract-ocr-sqi create mode 120000 srcpkgs/tesseract-ocr-srp create mode 120000 srcpkgs/tesseract-ocr-swa create mode 120000 srcpkgs/tesseract-ocr-swe create mode 120000 srcpkgs/tesseract-ocr-tam create mode 120000 srcpkgs/tesseract-ocr-tel create mode 120000 srcpkgs/tesseract-ocr-tgl create mode 120000 srcpkgs/tesseract-ocr-tha create mode 120000 srcpkgs/tesseract-ocr-tools create mode 120000 srcpkgs/tesseract-ocr-tur create mode 120000 srcpkgs/tesseract-ocr-ukr create mode 120000 srcpkgs/tesseract-ocr-vie create mode 100644 srcpkgs/tesseract-ocr/INSTALL.msg create mode 100644 srcpkgs/tesseract-ocr/template diff --git a/common/shlibs b/common/shlibs index 03a6b5365c..85b3576ea8 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2046,3 +2046,4 @@ libhttp_parser.so.2.5.0 http-parser-2.5.0_1 libmaa.so.3 libmaa-1.3.2_1 libcodeblocks.so.0 codeblocks-13.12_1 liblept.so.4 leptonica-1.72_1 +libtesseract.so.3 tesseract-ocr-3.02.02_1 diff --git a/srcpkgs/tesseract-ocr-afr b/srcpkgs/tesseract-ocr-afr new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-afr @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-all b/srcpkgs/tesseract-ocr-all new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-all @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-ara b/srcpkgs/tesseract-ocr-ara new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-ara @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-aze b/srcpkgs/tesseract-ocr-aze new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-aze @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-basic b/srcpkgs/tesseract-ocr-basic new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-basic @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-bel b/srcpkgs/tesseract-ocr-bel new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-bel @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-ben b/srcpkgs/tesseract-ocr-ben new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-ben @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-bul b/srcpkgs/tesseract-ocr-bul new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-bul @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-cat b/srcpkgs/tesseract-ocr-cat new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-cat @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-ces b/srcpkgs/tesseract-ocr-ces new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-ces @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-chi_sim b/srcpkgs/tesseract-ocr-chi_sim new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-chi_sim @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-chi_tra b/srcpkgs/tesseract-ocr-chi_tra new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-chi_tra @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-chr b/srcpkgs/tesseract-ocr-chr new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-chr @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-dan b/srcpkgs/tesseract-ocr-dan new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-dan @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-deu b/srcpkgs/tesseract-ocr-deu new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-deu @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-devel b/srcpkgs/tesseract-ocr-devel new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-devel @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-ell b/srcpkgs/tesseract-ocr-ell new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-ell @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-eng b/srcpkgs/tesseract-ocr-eng new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-eng @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-enm b/srcpkgs/tesseract-ocr-enm new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-enm @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-epo b/srcpkgs/tesseract-ocr-epo new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-epo @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-epo_alt b/srcpkgs/tesseract-ocr-epo_alt new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-epo_alt @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-equ b/srcpkgs/tesseract-ocr-equ new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-equ @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-est b/srcpkgs/tesseract-ocr-est new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-est @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-eus b/srcpkgs/tesseract-ocr-eus new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-eus @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-fin b/srcpkgs/tesseract-ocr-fin new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-fin @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-fra b/srcpkgs/tesseract-ocr-fra new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-fra @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-frk b/srcpkgs/tesseract-ocr-frk new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-frk @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-frm b/srcpkgs/tesseract-ocr-frm new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-frm @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-glg b/srcpkgs/tesseract-ocr-glg new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-glg @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-grc b/srcpkgs/tesseract-ocr-grc new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-grc @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-heb b/srcpkgs/tesseract-ocr-heb new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-heb @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-hin b/srcpkgs/tesseract-ocr-hin new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-hin @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-hrv b/srcpkgs/tesseract-ocr-hrv new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-hrv @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-hun b/srcpkgs/tesseract-ocr-hun new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-hun @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-ind b/srcpkgs/tesseract-ocr-ind new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-ind @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-ipa_old b/srcpkgs/tesseract-ocr-ipa_old new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-ipa_old @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-isl b/srcpkgs/tesseract-ocr-isl new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-isl @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-ita b/srcpkgs/tesseract-ocr-ita new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-ita @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-ita_old b/srcpkgs/tesseract-ocr-ita_old new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-ita_old @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-jpn b/srcpkgs/tesseract-ocr-jpn new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-jpn @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-kan b/srcpkgs/tesseract-ocr-kan new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-kan @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-kor b/srcpkgs/tesseract-ocr-kor new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-kor @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-lav b/srcpkgs/tesseract-ocr-lav new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-lav @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-lit b/srcpkgs/tesseract-ocr-lit new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-lit @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-mal b/srcpkgs/tesseract-ocr-mal new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-mal @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-mkd b/srcpkgs/tesseract-ocr-mkd new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-mkd @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-mlt b/srcpkgs/tesseract-ocr-mlt new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-mlt @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-msa b/srcpkgs/tesseract-ocr-msa new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-msa @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-nld b/srcpkgs/tesseract-ocr-nld new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-nld @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-nor b/srcpkgs/tesseract-ocr-nor new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-nor @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-pol b/srcpkgs/tesseract-ocr-pol new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-pol @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-por b/srcpkgs/tesseract-ocr-por new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-por @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-ron b/srcpkgs/tesseract-ocr-ron new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-ron @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-rus b/srcpkgs/tesseract-ocr-rus new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-rus @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-slk b/srcpkgs/tesseract-ocr-slk new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-slk @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-slv b/srcpkgs/tesseract-ocr-slv new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-slv @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-spa b/srcpkgs/tesseract-ocr-spa new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-spa @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-spa_old b/srcpkgs/tesseract-ocr-spa_old new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-spa_old @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-sqi b/srcpkgs/tesseract-ocr-sqi new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-sqi @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-srp b/srcpkgs/tesseract-ocr-srp new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-srp @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-swa b/srcpkgs/tesseract-ocr-swa new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-swa @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-swe b/srcpkgs/tesseract-ocr-swe new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-swe @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-tam b/srcpkgs/tesseract-ocr-tam new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-tam @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-tel b/srcpkgs/tesseract-ocr-tel new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-tel @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-tgl b/srcpkgs/tesseract-ocr-tgl new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-tgl @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-tha b/srcpkgs/tesseract-ocr-tha new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-tha @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-tools b/srcpkgs/tesseract-ocr-tools new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-tools @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-tur b/srcpkgs/tesseract-ocr-tur new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-tur @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-ukr b/srcpkgs/tesseract-ocr-ukr new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-ukr @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr-vie b/srcpkgs/tesseract-ocr-vie new file mode 120000 index 0000000000..79bcf15f05 --- /dev/null +++ b/srcpkgs/tesseract-ocr-vie @@ -0,0 +1 @@ +tesseract-ocr \ No newline at end of file diff --git a/srcpkgs/tesseract-ocr/INSTALL.msg b/srcpkgs/tesseract-ocr/INSTALL.msg new file mode 100644 index 0000000000..e6e1442d04 --- /dev/null +++ b/srcpkgs/tesseract-ocr/INSTALL.msg @@ -0,0 +1,2 @@ +You may also want to install at least tesseract-ocr-eng or +perhaps tesseract-ocr-basic for some language data files. diff --git a/srcpkgs/tesseract-ocr/template b/srcpkgs/tesseract-ocr/template new file mode 100644 index 0000000000..7de8ce504e --- /dev/null +++ b/srcpkgs/tesseract-ocr/template @@ -0,0 +1,999 @@ +# Template file for 'tesseract-ocr' +pkgname=tesseract-ocr +version=3.02.02 +revision=1 +wrksrc=$pkgname +build_style=gnu-configure +hostmakedepends="automake libtool leptonica" +makedepends="pango-devel leptonica-devel" +short_desc="Tesseract Open Source OCR engine" +maintainer="Jürgen Buchmüller " +license="Apache-2.0" +homepage="https://code.google.com/p/tesseract-ocr/" +_distsite="https://${pkgname}.googlecode.com/files" +distfiles="${_distsite}/${pkgname}-${version}.tar.gz + ${_distsite}/${pkgname}-${version%.*}.afr.tar.gz + ${_distsite}/${pkgname}-${version%.*}.ara.tar.gz + ${_distsite}/${pkgname}-${version%.*}.aze.tar.gz + ${_distsite}/${pkgname}-${version%.*}.bel.tar.gz + ${_distsite}/${pkgname}-${version%.*}.ben.tar.gz + ${_distsite}/${pkgname}-${version%.*}.bul.tar.gz + ${_distsite}/${pkgname}-${version%.*}.cat.tar.gz + ${_distsite}/${pkgname}-${version%.*}.ces.tar.gz + ${_distsite}/${pkgname}-${version%.*}.chi_sim.tar.gz + ${_distsite}/${pkgname}-${version%.*}.chi_tra.tar.gz + ${_distsite}/${pkgname}-${version%.*}.chr.tar.gz + ${_distsite}/${pkgname}-${version%.*}.dan.tar.gz + ${_distsite}/${pkgname}-${version%.*}.deu.tar.gz + ${_distsite}/${pkgname}-${version%.*}.ell.tar.gz + ${_distsite}/${pkgname}-${version%.*}.eng.tar.gz + ${_distsite}/${pkgname}-${version%.*}.enm.tar.gz + ${_distsite}/${pkgname}-${version%.*}.epo.tar.gz + ${_distsite}/${pkgname}-${version%.*}.epo_alt.tar.gz + ${_distsite}/${pkgname}-${version%.*}.equ.tar.gz + ${_distsite}/${pkgname}-${version%.*}.est.tar.gz + ${_distsite}/${pkgname}-${version%.*}.eus.tar.gz + ${_distsite}/${pkgname}-${version%.*}.fin.tar.gz + ${_distsite}/${pkgname}-${version%.*}.fra.tar.gz + ${_distsite}/${pkgname}-${version%.*}.frk.tar.gz + ${_distsite}/${pkgname}-${version%.*}.frm.tar.gz + ${_distsite}/${pkgname}-${version%.*}.glg.tar.gz + ${_distsite}/${pkgname}-${version%.*}.grc.tar.gz + ${_distsite}/${pkgname}-${version%.*}.heb.tar.gz + ${_distsite}/${pkgname}-${version%.*}.hin.tar.gz + ${_distsite}/${pkgname}-${version%.*}.hrv.tar.gz + ${_distsite}/${pkgname}-${version%.*}.hun.tar.gz + ${_distsite}/${pkgname}-${version%.*}.ind.tar.gz + ${_distsite}/${pkgname}-${version%.*}.isl.tar.gz + ${_distsite}/${pkgname}-${version%.*}.ita.tar.gz + ${_distsite}/${pkgname}-${version%.*}.ita_old.tar.gz + ${_distsite}/${pkgname}-${version%.*}.jpn.tar.gz + ${_distsite}/${pkgname}-${version%.*}.kan.tar.gz + ${_distsite}/${pkgname}-${version%.*}.kor.tar.gz + ${_distsite}/${pkgname}-${version%.*}.lav.tar.gz + ${_distsite}/${pkgname}-${version%.*}.lit.tar.gz + ${_distsite}/${pkgname}-${version%.*}.mal.tar.gz + ${_distsite}/${pkgname}-${version%.*}.mkd.tar.gz + ${_distsite}/${pkgname}-${version%.*}.mlt.tar.gz + ${_distsite}/${pkgname}-${version%.*}.msa.tar.gz + ${_distsite}/${pkgname}-${version%.*}.nld.tar.gz + ${_distsite}/${pkgname}-${version%.*}.nor.tar.gz + ${_distsite}/${pkgname}-${version%.*}.pol.tar.gz + ${_distsite}/${pkgname}-${version%.*}.por.tar.gz + ${_distsite}/${pkgname}-${version%.*}.ron.tar.gz + ${_distsite}/${pkgname}-${version%.*}.rus.tar.gz + ${_distsite}/${pkgname}-${version%.*}.slk.tar.gz + ${_distsite}/${pkgname}-${version%.*}.slv.tar.gz + ${_distsite}/${pkgname}-${version%.*}.spa.tar.gz + ${_distsite}/${pkgname}-${version%.*}.spa_old.tar.gz + ${_distsite}/${pkgname}-${version%.*}.sqi.tar.gz + ${_distsite}/${pkgname}-${version%.*}.srp.tar.gz + ${_distsite}/${pkgname}-${version%.*}.swa.tar.gz + ${_distsite}/${pkgname}-${version%.*}.swe.tar.gz + ${_distsite}/${pkgname}-${version%.*}.tam.tar.gz + ${_distsite}/${pkgname}-${version%.*}.tel.tar.gz + ${_distsite}/${pkgname}-${version%.*}.tgl.tar.gz + ${_distsite}/${pkgname}-${version%.*}.tha.tar.gz + ${_distsite}/${pkgname}-${version%.*}.tur.tar.gz + ${_distsite}/${pkgname}-${version%.*}.ukr.tar.gz + ${_distsite}/${pkgname}-${version%.*}.vie.tar.gz" + +checksum="26cd39cb3f2a6f6f1bf4050d1cc0aae35edee49eb49a92df3cb7f9487caa013d + 371399ce6700f28d04ccfc12e421f315e356e3aa26575b27d06083c06987784d + 2c7be319c30e93950c121897969c1bc1eb1d6bdceb75f1184ee34a6f01d66b6a + 0f17a06a163d97ec23db3ab14b91b84a67aeba1e441ca5e53a8632b2110a0e79 + e59e008c542f786f6f7bd14c6608b2c128c9297d6bede647ae357f7421f7a3e7 + 14a87e0762dcee0cd95acfd3b370b81fd14a003d39328ed97db0b28c55d31e50 + 1b8b4d7b12d896cf9f7e60e8e3274d3891886544253d41681dd9b32d6567e3f3 + 894af4c718e821cdc4ae3ec65838b174ac8a003e5417a08557698e1576ac3a34 + 843522eddcd0e2059a1c7069183b68c2459d527157bc47833a79b6ff56bb09de + f5b196b5bea6917bcbbf15131b4c2afe94d34c2d9e21d08c0ca42dfbe5aa1095 + 78742e273a9ca74a6ab5543414e04bcac90d03a317dd35edc634956beafa3d20 + 27c917ba39898d63752b2a4ecb0cd8f688772bcbbae2bf430a93d894d328a4c1 + deb93f6326aa8a4d353159201681947a808577662084d4060daea7d644e63eb9 + d03cdd0b00d368ff49ebaf77b8758bcf2ff1b0d39331368987e622ac261443ca + 29745ced8fbfb4ec9abebeb99e4b385821cb5eb0ed81fb1870b93543553b8fba + c110029560e7f6d41cb852ca23b66899daa4456d9afeeae9d062204bd271bdf8 + 19c9bd89c823451655e3f265b7fcd06727cd36ddec01b8fad9900159b688a1e3 + 22ae681c34ee7aa825994115f927c2e1f8ec1a98c97c01218b98d2549af22252 + e516b8362fa060be720d2768a8abbee9cc965b9162249c5914ef1d8159e03dc2 + 2010e724686171ef2eb3388df00d8d89ba7e50cb2298b0368b847fffb95d804e + d5d6b9d4b567a10e2f63cafd2f60bf5b0c994e415470becafd729b20349e2e80 + 78359d57896623cf8211e17604a9dfa574e2253c9157035f439c5fbe06cd5019 + e02ff1798960d3af15c0dafafac0de954442cfb13f4eff45c3263c2ff6e59026 + 74592f5f2ab73a6668934922753be0505fc4333ee790543949f8b70f03eab101 + a9f4219d6b2ef4ed8b76c86be99ae3c9190509df72ba6f0217a77f7205ec52f8 + f32f774d88e7936f16ff41b832cecfbd71f82c9bf7584330d750da941c07ca79 + 82ffa27c4de17545fa9d46e0fcd5690b1b59bcce9e93f71c0a41d19afbe869ee + 586b955eb9fba5a304cfa37bfdd7c89f2db33335d5ae83f2962aed8903266805 + da47b0cfe241775c9b36339efda6339d59e146fa6143c65a2253eb9f67164811 + 91f91da5adc73ee71150865d6598df8a50424350480df2753ca9035320b3c78d + e20575f5b0ec73ff7f3197c112a8dcc24303b64016910399d9127bda42e7d866 + edf5cc42b516b2a18681955167d1964dfc7ff8cda642408ebda91b3c4656f9f1 + 337ba4400a798c60dee16070071337c96fc67bcb4e2cc1b4676dcbc340fbbcd7 + 6b226366d8d2d87f859d4099e8b715e3ec3890f9317198e7b8c80fba001055f8 + 26453b302c108e08f594c7a19597382314529f648e141805417f9af1e4c99ac2 + caf591be6d4eda9e7627397c3c520d58115c660002ecace680749504348ba104 + 09bf447a29e990c065024b3b720fd70f08d596a7be534312fc9e47d0aabf681f + 15851cc22058c08cad9ec6058113f76966409061f21f5cde8c9cc1d214298c22 + 7c85c4107a781d90d6d4adb001f2189b113f9db6942618b4bc47f4cc80cd126a + e6a190ee1edf0a58948a9d7b01569fd8a4c05bc678da3a40ad884c0849958c36 + 350891a182076df2e8067da04b3b2127a77e48782d9905e8339db4f1d6c7a729 + 72b3b23979ae4a6b63518964bf239beae8bb6c02f35a2695f47262178b3fef34 + ea489277e7a588a1b7566a21cbbd647786f16659cae087a4705d4fdabd823ee6 + ba99e8bfc753a274bbea38ef44f5abf81e5f12d09f9d12d267436961270ef2de + f34e4950ad9079f92965a234253cc16f92deb66f1ce4e9c9a885ad2695c2d136 + 5e2e53499a05282968e5a9699aad66ae52a5abf06ae828e2f4cf2c1f6e674a98 + 6b5c42444595a81b5f6fea859d97999895917bcc2f85a505488ea5c2f4efa01a + 62999058bfb609d95d53bd519c6de99620d025b3bfbc54d8679a87b10474ccbb + f9b126323757c62da23aab163e2ce5257d137e86be7c37dea13bb0585e1ace3f + d7e6454c9cc80c84a654f94283fc06b2df33c5c7fd2d3bff269c3cbdeb0b39e7 + 091cda49489d15f33916263fc78fbf8dcd4e6547012dc7e1a8496a38ab192315 + cbd5a88e2188ef39ef438c9859dbd7a9b9e2a99c23a823ec310f7f84a012cc82 + b901507d2901c882f98f6ef5db07dbf74636fba6a1f616c5f094954106791667 + f40cc264d037b0c71ecb4a8bb6def8b3ec04b647d8da7fd44d0daa558bfa31b1 + 2b980c0eda1572423dd56260b32d748288028fdd45266311c4ab448fcbce5814 + 99bfcda3e0c471f63b36cd0db7dea596e59a2219c9275c3ba51e59973555c101 + b1eeeb2958d0a4e2ba16fb55a98ca4ca8e69fee8b0be8162ff599ba19d0b2404 + 2681e59f2a9333259a2de42f3deed46aa7dd84b638e6927f40db0409adff143b + ada287d7b64183df906215fe4ca86c3b6fe30dc5121e9a83113c3265ca7fc5ae + 75f73362421a23eb955212f7aa19c9a3efdc80a4c6761445869148bfd2a6dc62 + f36af3d5ca9f8ff6e606485fe5db835f96b42e7d2380ac5d61af6b41827834fd + 5c515310df83c9b40e557027e49de6df70e33a9bbabeaf1301ca9e8c13558948 + 7a98e25e0c61dda48cbdb241f0f53c3dfaa7ef574b81799ab2ddac50da6db4fb + fe4657ca3455585a06eb3d02b4a0472fda8ca06efe587be75e175662dc6329d7 + 7862b10c1ff7e02b41c7a50eec7fccd2c30b8162d965fa1ae00510c6d1210762 + a113254882eac70168aec00544805e7c9cec20527217b98349ed48f6e2d2611e" + +pre_configure() { + cd ${wrksrc} + ./autogen.sh +} +post_install() { + # Rename binary to avoid conflict with tesseract package + mv ${DESTDIR}/usr/bin/tesseract{,-ocr} + mv ${DESTDIR}/usr/share/man/man1/tesseract{,-ocr}.1 + vdoc ChangeLog + vdoc README + vdoc eurotext.tif + vdoc phototest.tif +} +tesseract-ocr-tools_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Tools (development)" + pkg_install() { + local f + vmkdir usr/share/tesseract + vmkdir usr/share/man/man1 + vmkdir usr/share/man/man5 + for f in ambiguous_words classifier_tester cntraining combine_tessdata \ + dawg2wordlist mftraining shapeclustering unicharambigs unicharset \ + unicharset_extractor wordlist2dawg; do + if [ -e ${DESTDIR}/usr/bin/${f} ]; then + mv ${DESTDIR}/usr/bin/$f \ + ${PKGDESTDIR}/usr/share/tesseract + fi + for n in 1 5; do + if [ -e ${DESTDIR}/usr/share/man/man${n}/${f}.${n} ]; then + mv ${DESTDIR}/usr/share/man/man${n}/${f}.${n} \ + ${PKGDESTDIR}/usr/share/man/man${n} + fi + done + done + } +} +tesseract-ocr-devel_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Development files" + pkg_install() { + vmove usr/include/tesseract + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + vmove "usr/lib/*.so" + } +} +tesseract-ocr-basic_package() { + local lang + depends="tesseract-ocr>=${version}_${revision}" + conflics="tesseract-ocr-all>=0" + short_desc+=" - Basic languages data" + # A number of basic (mostly European) languages + for lang in bel dan deu eng equ fin fra hun ita nld nor pol por rus spa swe tur; do + depends+=" tesseract-ocr-${lang}>=${version}_${revision}" + done +} +tesseract-ocr-all_package() { + local lang + depends="tesseract-ocr>=${version}_${revision}" + conflics="tesseract-ocr-basic>=0" + short_desc+=" - All languages data" + # All available languages + for lang in afr ara aze bel ben bul cat ces chi_sim chi_tra \ + chr dan deu ell eng enm epo epo_alt equ est eus frk \ + fin fra frm glg grc heb hin hrv hun ind isl ita ita_old \ + jpn kan kor lav lit mal mkd mlt msa nld nor pol por \ + ron rus slk slv spa spa_old sqi srp swa swe tam tel \ + tgl tha tur ukr vie; do + depends+=" tesseract-ocr-${lang}>=${version}_${revision}" + done +} +tesseract-ocr-afr_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Afrikaans language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-ara_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Arabic language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-aze_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Azerbaijani language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-bel_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Belarusian language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-ben_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Bengali language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-bul_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Bulgarian language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-cat_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Catalan language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-ces_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Czech language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-chi_sim_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Chinese (Simplified) language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-chi_tra_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Chinese (Traditional) language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-chr_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Cherokee language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-dan_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Danish language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-deu_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - German language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-ell_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Greek language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-eng_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - English language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-enm_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Middle English (1100-1500) language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-epo_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Esperanto language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-epo_alt_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Esperanto alternative language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-equ_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Math / equation detection module" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-est_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Estonian language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-eus_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Basque language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-fin_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Finnish language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-fra_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - French language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-frk_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Frankish language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-frm_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Middle French (ca. 1400-1600) language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-glg_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Galician language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-grc_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Ancient Greek Language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-heb_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Hebrew language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-hin_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Hindi language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-hrv_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Croatian language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-hun_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Hungarian language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-ind_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Indonesian language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-isl_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Icelandic language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-ita_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Italian language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-ita_old_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Italian (Old) language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-jpn_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Japanese language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-kan_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Kannada language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-kor_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Korean language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-lav_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Latvian language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-lit_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Lithuanian language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-mal_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Malayalam language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-mkd_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Macedonian language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-mlt_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Maltese language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-msa_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Malay language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-nld_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Dutch language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-nor_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Norwegian language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-pol_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Polish language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-por_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Portuguese language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-ron_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Romanian language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-rus_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Russian Language Data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-slk_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Slovakian language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-slv_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Slovenian language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-spa_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Spanish language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-spa_old_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Spanish (Old) language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-sqi_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Albanian language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-srp_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Serbian (Latin) language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-swa_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Swahili language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-swe_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Swedish language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-tam_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Tamil language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-tel_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Telugu language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-tgl_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Tagalog language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-tha_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Thai language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-tur_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Turkish language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-ukr_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Ukrainian language data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +} +tesseract-ocr-vie_package() { + depends="tesseract-ocr>=${version}_${revision}" + short_desc+=" - Vietnamese Language Data" + pkg_install() { + local f lang=${pkgname#tesseract-ocr-} + vmkdir usr/share/tessdata + for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do + vinstall $f 644 usr/share/tessdata + rm $f + done + } +}