30 lines
1018 B
BlitzBasic
30 lines
1018 B
BlitzBasic
|
require icu.inc
|
||
|
|
||
|
LIC_FILES_CHKSUM = "file://../LICENSE;md5=675f2d069434d8a1e4e6b0dcf4379226"
|
||
|
|
||
|
def icu_download_version(d):
|
||
|
pvsplit = d.getVar('PV').split('.')
|
||
|
return pvsplit[0] + "_" + pvsplit[1]
|
||
|
|
||
|
ICU_PV = "${@icu_download_version(d)}"
|
||
|
|
||
|
# http://errors.yoctoproject.org/Errors/Details/20486/
|
||
|
ARM_INSTRUCTION_SET_armv4 = "arm"
|
||
|
ARM_INSTRUCTION_SET_armv5 = "arm"
|
||
|
|
||
|
BASE_SRC_URI = "http://download.icu-project.org/files/icu4c/${PV}/icu4c-${ICU_PV}-src.tgz"
|
||
|
SRC_URI = "${BASE_SRC_URI} \
|
||
|
file://icu-pkgdata-large-cmd.patch \
|
||
|
file://fix-install-manx.patch \
|
||
|
file://0001-i18n-Drop-include-xlocale.h.patch \
|
||
|
"
|
||
|
|
||
|
SRC_URI_append_class-target = "\
|
||
|
file://0001-Disable-LDFLAGSICUDT-for-Linux.patch \
|
||
|
"
|
||
|
SRC_URI[md5sum] = "3d164a2d1bcebd1464c6160ebb8315ef"
|
||
|
SRC_URI[sha256sum] = "f8f5a6c8fbf32c015a467972bdb1477dc5f5d5dfea908b6ed218715eeb5ee225"
|
||
|
|
||
|
UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)/"
|
||
|
UPSTREAM_CHECK_URI = "http://download.icu-project.org/files/icu4c/"
|