summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/icu/icu.inc
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2012-12-18 13:58:36 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-12-19 17:54:57 +0000
commit9596495e09b1738d2e85e0c1a2997c889dd6e6f5 (patch)
tree07db8282ccb3eecabd64cb7b900f200cbb5e464c /meta/recipes-support/icu/icu.inc
parentc21f80b294a226e00d6dfd8efedb0f7f0fb0c647 (diff)
downloadpoky-9596495e09b1738d2e85e0c1a2997c889dd6e6f5.tar.gz
ICU: upgrade to 50.1.
Upgrade ICU to 50.1. All unnecessary patches of the previous version are dropped. [YOCTO #3557] (From OE-Core rev: d9e6b45a0abd15b24941d8d04142cd79399424ef) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/icu/icu.inc')
-rw-r--r--meta/recipes-support/icu/icu.inc52
1 files changed, 52 insertions, 0 deletions
diff --git a/meta/recipes-support/icu/icu.inc b/meta/recipes-support/icu/icu.inc
new file mode 100644
index 0000000000..f7257d13e8
--- /dev/null
+++ b/meta/recipes-support/icu/icu.inc
@@ -0,0 +1,52 @@
1SUMMARY = "International Component for Unicode libraries"
2DESCRIPTION = "The International Component for Unicode (ICU) is a mature, portable set of C/C++ and Java libraries for Unicode support, software internationalization (I18N) and globalization (G11N), giving applications the same results on all platforms."
3HOMEPAGE = "http://site.icu-project.org/"
4
5LICENSE = "ICU"
6DEPENDS = "icu-native"
7DEPENDS_class-native = ""
8
9S = "${WORKDIR}/icu/source"
10STAGING_ICU_SOURCE_DIR_NATIVE = "${STAGING_DATADIR_NATIVE}/icu"
11
12PARALLEL_MAKE = ""
13FULL_OPTIMIZATION_arm = "-Os"
14
15inherit autotools pkgconfig binconfig
16
17# ICU needs the native build directory as an argument to its --with-cross-build option when
18# cross-compiling. Taken the situation that different builds may share a common sstate-cache
19# into consideration, the native build directory needs to be staged.
20EXTRA_OECONF = "--with-cross-build=${STAGING_DATADIR_NATIVE}/icu/source"
21EXTRA_OECONF_class-native = ""
22
23# ICU puts custom m4 autoconf functions in aclocal.m4.
24# However, this file is deleted in our build system.
25# To make it work, we copy aclocal.m4 to acinclude.m4.
26# This is a bug of ICU. See bug reference:
27# http://bugs.icu-project.org/trac/ticket/9790
28do_configure_prepend() {
29 [ -f acinclude.m4 ] || cp aclocal.m4 acinclude.m4
30}
31
32do_install_append() {
33 if [ ${PN} == 'icu-native' ]; then
34 mkdir -p ${D}/${STAGING_ICU_SOURCE_DIR_NATIVE}
35 cp -r ${S} ${D}/${STAGING_ICU_SOURCE_DIR_NATIVE}
36 fi
37}
38
39PACKAGES =+ "libicudata libicuuc libicui18n libicule libiculx libicutu libicuio"
40
41FILES_${PN}-dev += "${libdir}/${BPN}/"
42
43FILES_libicudata = "${libdir}/libicudata.so.*"
44FILES_libicuuc = "${libdir}/libicuuc.so.*"
45FILES_libicui18n = "${libdir}/libicui18n.so.*"
46FILES_libicule = "${libdir}/libicule.so.*"
47FILES_libiculx = "${libdir}/libiculx.so.*"
48FILES_libicutu = "${libdir}/libicutu.so.*"
49FILES_libicuio = "${libdir}/libicuio.so.*"
50
51BBCLASSEXTEND = "native"
52