Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 1 | require icu.inc |
| 2 | |
| 3 | LIC_FILES_CHKSUM = "file://../license.html;md5=64eff4aadff4d104d6d437c4fde0e6d7" |
| 4 | |
| 5 | def icu_download_version(d): |
| 6 | pvsplit = d.getVar('PV', True).split('.') |
| 7 | return pvsplit[0] + "_" + pvsplit[1] |
| 8 | |
| 9 | ICU_PV = "${@icu_download_version(d)}" |
| 10 | |
| 11 | # http://errors.yoctoproject.org/Errors/Details/20486/ |
| 12 | ARM_INSTRUCTION_SET_armv4 = "arm" |
| 13 | ARM_INSTRUCTION_SET_armv5 = "arm" |
| 14 | |
| 15 | BASE_SRC_URI = "http://download.icu-project.org/files/icu4c/${PV}/icu4c-${ICU_PV}-src.tgz" |
| 16 | SRC_URI = "${BASE_SRC_URI} \ |
| 17 | file://icu-pkgdata-large-cmd.patch \ |
| 18 | file://fix-install-manx.patch \ |
| 19 | file://icu-release-56-1-flagparser-fix.patch \ |
| 20 | " |
| 21 | |
| 22 | SRC_URI_append_class-target = "\ |
| 23 | file://0001-Disable-LDFLAGSICUDT-for-Linux.patch \ |
| 24 | " |
| 25 | SRC_URI[md5sum] = "c4a2d71ff56aec5ebfab2a3f059be99d" |
| 26 | SRC_URI[sha256sum] = "3a64e9105c734dcf631c0b3ed60404531bce6c0f5a64bfe1a6402a4cc2314816" |
| 27 | |
| 28 | UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)/" |
| 29 | UPSTREAM_CHECK_URI = "http://download.icu-project.org/files/icu4c/" |