blob: 585a92bc4cd45f9f1013231a7f2cec018dc5cd40 [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001require icu.inc
2
3LIC_FILES_CHKSUM = "file://../LICENSE;md5=675f2d069434d8a1e4e6b0dcf4379226"
4
5def icu_download_version(d):
6 pvsplit = d.getVar('PV').split('.')
7 return pvsplit[0] + "_" + pvsplit[1]
8
9ICU_PV = "${@icu_download_version(d)}"
10
11# http://errors.yoctoproject.org/Errors/Details/20486/
12ARM_INSTRUCTION_SET_armv4 = "arm"
13ARM_INSTRUCTION_SET_armv5 = "arm"
14
15BASE_SRC_URI = "http://download.icu-project.org/files/icu4c/${PV}/icu4c-${ICU_PV}-src.tgz"
16SRC_URI = "${BASE_SRC_URI} \
17 file://icu-pkgdata-large-cmd.patch \
18 file://fix-install-manx.patch \
19 file://0001-i18n-Drop-include-xlocale.h.patch \
20 "
21
22SRC_URI_append_class-target = "\
23 file://0001-Disable-LDFLAGSICUDT-for-Linux.patch \
24 "
25SRC_URI[md5sum] = "43861b127744b3c0b9d7f386f4b9fa40"
26SRC_URI[sha256sum] = "f073ea8f35b926d70bb33e6577508aa642a8b316a803f11be20af384811db418"
27
28UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)/"
29UPSTREAM_CHECK_URI = "http://download.icu-project.org/files/icu4c/"