tesseract-ocr: unbreak cross; make lang pkgs noarch.

This commit is contained in:
Juan RP 2015-05-28 18:36:49 +02:00
parent 7da8481dcb
commit 1e768358a2
1 changed files with 69 additions and 1 deletions

View File

@ -1,9 +1,10 @@
# Template file for 'tesseract-ocr'
pkgname=tesseract-ocr
version=3.02.02
revision=1
revision=2
wrksrc=$pkgname
build_style=gnu-configure
configure_args="LIBLEPT_HEADERSDIR=${XBPS_CROSS_BASE}/usr/include"
hostmakedepends="automake libtool leptonica"
makedepends="pango-devel leptonica-devel"
short_desc="Tesseract Open Source OCR engine"
@ -194,6 +195,7 @@ tesseract-ocr-devel_package() {
}
tesseract-ocr-basic_package() {
local lang
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
conflics="tesseract-ocr-all>=0"
short_desc+=" - Basic languages data"
@ -204,6 +206,7 @@ tesseract-ocr-basic_package() {
}
tesseract-ocr-all_package() {
local lang
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
conflics="tesseract-ocr-basic>=0"
short_desc+=" - All languages data"
@ -218,6 +221,7 @@ tesseract-ocr-all_package() {
done
}
tesseract-ocr-afr_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Afrikaans language data"
pkg_install() {
@ -230,6 +234,7 @@ tesseract-ocr-afr_package() {
}
}
tesseract-ocr-ara_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Arabic language data"
pkg_install() {
@ -242,6 +247,7 @@ tesseract-ocr-ara_package() {
}
}
tesseract-ocr-aze_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Azerbaijani language data"
pkg_install() {
@ -254,6 +260,7 @@ tesseract-ocr-aze_package() {
}
}
tesseract-ocr-bel_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Belarusian language data"
pkg_install() {
@ -266,6 +273,7 @@ tesseract-ocr-bel_package() {
}
}
tesseract-ocr-ben_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Bengali language data"
pkg_install() {
@ -278,6 +286,7 @@ tesseract-ocr-ben_package() {
}
}
tesseract-ocr-bul_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Bulgarian language data"
pkg_install() {
@ -290,6 +299,7 @@ tesseract-ocr-bul_package() {
}
}
tesseract-ocr-cat_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Catalan language data"
pkg_install() {
@ -302,6 +312,7 @@ tesseract-ocr-cat_package() {
}
}
tesseract-ocr-ces_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Czech language data"
pkg_install() {
@ -314,6 +325,7 @@ tesseract-ocr-ces_package() {
}
}
tesseract-ocr-chi_sim_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Chinese (Simplified) language data"
pkg_install() {
@ -326,6 +338,7 @@ tesseract-ocr-chi_sim_package() {
}
}
tesseract-ocr-chi_tra_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Chinese (Traditional) language data"
pkg_install() {
@ -338,6 +351,7 @@ tesseract-ocr-chi_tra_package() {
}
}
tesseract-ocr-chr_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Cherokee language data"
pkg_install() {
@ -350,6 +364,7 @@ tesseract-ocr-chr_package() {
}
}
tesseract-ocr-dan_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Danish language data"
pkg_install() {
@ -362,6 +377,7 @@ tesseract-ocr-dan_package() {
}
}
tesseract-ocr-deu_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - German language data"
pkg_install() {
@ -374,6 +390,7 @@ tesseract-ocr-deu_package() {
}
}
tesseract-ocr-ell_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Greek language data"
pkg_install() {
@ -386,6 +403,7 @@ tesseract-ocr-ell_package() {
}
}
tesseract-ocr-eng_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - English language data"
pkg_install() {
@ -398,6 +416,7 @@ tesseract-ocr-eng_package() {
}
}
tesseract-ocr-enm_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Middle English (1100-1500) language data"
pkg_install() {
@ -410,6 +429,7 @@ tesseract-ocr-enm_package() {
}
}
tesseract-ocr-epo_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Esperanto language data"
pkg_install() {
@ -422,6 +442,7 @@ tesseract-ocr-epo_package() {
}
}
tesseract-ocr-epo_alt_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Esperanto alternative language data"
pkg_install() {
@ -434,6 +455,7 @@ tesseract-ocr-epo_alt_package() {
}
}
tesseract-ocr-equ_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Math / equation detection module"
pkg_install() {
@ -446,6 +468,7 @@ tesseract-ocr-equ_package() {
}
}
tesseract-ocr-est_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Estonian language data"
pkg_install() {
@ -458,6 +481,7 @@ tesseract-ocr-est_package() {
}
}
tesseract-ocr-eus_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Basque language data"
pkg_install() {
@ -470,6 +494,7 @@ tesseract-ocr-eus_package() {
}
}
tesseract-ocr-fin_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Finnish language data"
pkg_install() {
@ -482,6 +507,7 @@ tesseract-ocr-fin_package() {
}
}
tesseract-ocr-fra_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - French language data"
pkg_install() {
@ -494,6 +520,7 @@ tesseract-ocr-fra_package() {
}
}
tesseract-ocr-frk_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Frankish language data"
pkg_install() {
@ -506,6 +533,7 @@ tesseract-ocr-frk_package() {
}
}
tesseract-ocr-frm_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Middle French (ca. 1400-1600) language data"
pkg_install() {
@ -518,6 +546,7 @@ tesseract-ocr-frm_package() {
}
}
tesseract-ocr-glg_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Galician language data"
pkg_install() {
@ -530,6 +559,7 @@ tesseract-ocr-glg_package() {
}
}
tesseract-ocr-grc_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Ancient Greek Language data"
pkg_install() {
@ -542,6 +572,7 @@ tesseract-ocr-grc_package() {
}
}
tesseract-ocr-heb_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Hebrew language data"
pkg_install() {
@ -554,6 +585,7 @@ tesseract-ocr-heb_package() {
}
}
tesseract-ocr-hin_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Hindi language data"
pkg_install() {
@ -566,6 +598,7 @@ tesseract-ocr-hin_package() {
}
}
tesseract-ocr-hrv_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Croatian language data"
pkg_install() {
@ -578,6 +611,7 @@ tesseract-ocr-hrv_package() {
}
}
tesseract-ocr-hun_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Hungarian language data"
pkg_install() {
@ -590,6 +624,7 @@ tesseract-ocr-hun_package() {
}
}
tesseract-ocr-ind_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Indonesian language data"
pkg_install() {
@ -602,6 +637,7 @@ tesseract-ocr-ind_package() {
}
}
tesseract-ocr-isl_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Icelandic language data"
pkg_install() {
@ -614,6 +650,7 @@ tesseract-ocr-isl_package() {
}
}
tesseract-ocr-ita_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Italian language data"
pkg_install() {
@ -626,6 +663,7 @@ tesseract-ocr-ita_package() {
}
}
tesseract-ocr-ita_old_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Italian (Old) language data"
pkg_install() {
@ -638,6 +676,7 @@ tesseract-ocr-ita_old_package() {
}
}
tesseract-ocr-jpn_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Japanese language data"
pkg_install() {
@ -650,6 +689,7 @@ tesseract-ocr-jpn_package() {
}
}
tesseract-ocr-kan_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Kannada language data"
pkg_install() {
@ -662,6 +702,7 @@ tesseract-ocr-kan_package() {
}
}
tesseract-ocr-kor_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Korean language data"
pkg_install() {
@ -674,6 +715,7 @@ tesseract-ocr-kor_package() {
}
}
tesseract-ocr-lav_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Latvian language data"
pkg_install() {
@ -686,6 +728,7 @@ tesseract-ocr-lav_package() {
}
}
tesseract-ocr-lit_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Lithuanian language data"
pkg_install() {
@ -698,6 +741,7 @@ tesseract-ocr-lit_package() {
}
}
tesseract-ocr-mal_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Malayalam language data"
pkg_install() {
@ -710,6 +754,7 @@ tesseract-ocr-mal_package() {
}
}
tesseract-ocr-mkd_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Macedonian language data"
pkg_install() {
@ -722,6 +767,7 @@ tesseract-ocr-mkd_package() {
}
}
tesseract-ocr-mlt_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Maltese language data"
pkg_install() {
@ -734,6 +780,7 @@ tesseract-ocr-mlt_package() {
}
}
tesseract-ocr-msa_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Malay language data"
pkg_install() {
@ -746,6 +793,7 @@ tesseract-ocr-msa_package() {
}
}
tesseract-ocr-nld_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Dutch language data"
pkg_install() {
@ -758,6 +806,7 @@ tesseract-ocr-nld_package() {
}
}
tesseract-ocr-nor_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Norwegian language data"
pkg_install() {
@ -770,6 +819,7 @@ tesseract-ocr-nor_package() {
}
}
tesseract-ocr-pol_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Polish language data"
pkg_install() {
@ -782,6 +832,7 @@ tesseract-ocr-pol_package() {
}
}
tesseract-ocr-por_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Portuguese language data"
pkg_install() {
@ -794,6 +845,7 @@ tesseract-ocr-por_package() {
}
}
tesseract-ocr-ron_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Romanian language data"
pkg_install() {
@ -806,6 +858,7 @@ tesseract-ocr-ron_package() {
}
}
tesseract-ocr-rus_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Russian Language Data"
pkg_install() {
@ -818,6 +871,7 @@ tesseract-ocr-rus_package() {
}
}
tesseract-ocr-slk_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Slovakian language data"
pkg_install() {
@ -830,6 +884,7 @@ tesseract-ocr-slk_package() {
}
}
tesseract-ocr-slv_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Slovenian language data"
pkg_install() {
@ -842,6 +897,7 @@ tesseract-ocr-slv_package() {
}
}
tesseract-ocr-spa_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Spanish language data"
pkg_install() {
@ -854,6 +910,7 @@ tesseract-ocr-spa_package() {
}
}
tesseract-ocr-spa_old_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Spanish (Old) language data"
pkg_install() {
@ -866,6 +923,7 @@ tesseract-ocr-spa_old_package() {
}
}
tesseract-ocr-sqi_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Albanian language data"
pkg_install() {
@ -878,6 +936,7 @@ tesseract-ocr-sqi_package() {
}
}
tesseract-ocr-srp_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Serbian (Latin) language data"
pkg_install() {
@ -890,6 +949,7 @@ tesseract-ocr-srp_package() {
}
}
tesseract-ocr-swa_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Swahili language data"
pkg_install() {
@ -902,6 +962,7 @@ tesseract-ocr-swa_package() {
}
}
tesseract-ocr-swe_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Swedish language data"
pkg_install() {
@ -914,6 +975,7 @@ tesseract-ocr-swe_package() {
}
}
tesseract-ocr-tam_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Tamil language data"
pkg_install() {
@ -926,6 +988,7 @@ tesseract-ocr-tam_package() {
}
}
tesseract-ocr-tel_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Telugu language data"
pkg_install() {
@ -938,6 +1001,7 @@ tesseract-ocr-tel_package() {
}
}
tesseract-ocr-tgl_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Tagalog language data"
pkg_install() {
@ -950,6 +1014,7 @@ tesseract-ocr-tgl_package() {
}
}
tesseract-ocr-tha_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Thai language data"
pkg_install() {
@ -962,6 +1027,7 @@ tesseract-ocr-tha_package() {
}
}
tesseract-ocr-tur_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Turkish language data"
pkg_install() {
@ -974,6 +1040,7 @@ tesseract-ocr-tur_package() {
}
}
tesseract-ocr-ukr_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Ukrainian language data"
pkg_install() {
@ -986,6 +1053,7 @@ tesseract-ocr-ukr_package() {
}
}
tesseract-ocr-vie_package() {
noarch=yes
depends="tesseract-ocr>=${version}_${revision}"
short_desc+=" - Vietnamese Language Data"
pkg_install() {