summaryrefslogtreecommitdiffstats
path: root/meta/packages/icu/icu-3.6.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/icu/icu-3.6.inc')
-rw-r--r--meta/packages/icu/icu-3.6.inc39
1 files changed, 33 insertions, 6 deletions
diff --git a/meta/packages/icu/icu-3.6.inc b/meta/packages/icu/icu-3.6.inc
index be58fb1f44..90b4729bfc 100644
--- a/meta/packages/icu/icu-3.6.inc
+++ b/meta/packages/icu/icu-3.6.inc
@@ -1,12 +1,15 @@
1 1
2LICENSE = "ICU"
3
4SRC_URI = "ftp://ftp.software.ibm.com/software/globalization/icu/3.6/icu4c-3_6-src.tgz \ 2SRC_URI = "ftp://ftp.software.ibm.com/software/globalization/icu/3.6/icu4c-3_6-src.tgz \
5 file://gccfix.patch;patch=1" 3 file://gccfix.patch;patch=1 \
4 file://use-g++-for-linking.patch;patch=1"
5LICENSE = "ICU"
6DEPENDS = "icu-native"
7DEPENDS_virtclass-native = ""
6 8
7S = "${WORKDIR}/icu/source" 9S = "${WORKDIR}/icu/source"
8 10
9PARALLEL_MAKE = "" 11PARALLEL_MAKE = ""
12FULL_OPTIMIZATION_arm = "-Os"
10 13
11inherit autotools_stage pkgconfig binconfig 14inherit autotools_stage pkgconfig binconfig
12 15
@@ -14,6 +17,30 @@ do_configure() {
14 libtoolize --force 17 libtoolize --force
15 gnu-configize --force 18 gnu-configize --force
16 oe_runconf 19 oe_runconf
17} 20 for i in */Makefile */*.inc */*/Makefile */*/*.inc ; do
18 21 sed -i -e 's:$(INVOKE) $(BINDIR)/:$(INVOKE) :g' $i
19 22 sed -i -e 's:$(BINDIR)/::g' $i
23 done
24 sed -i -e 's:$(BINDIR)/::g' extra/uconv/pkgdata.inc || true
25 sed -i -e 's:$(BINDIR)/::g' extra/uconv/pkgdata.inc.in || true
26}
27
28do_compile() {
29 oe_runmake 'CXX=${CXX}'
30}
31
32do_install_append() {
33 chmod +x ${D}${libdir}/lib*
34}
35
36PACKAGES =+ "libicudata libicuuc libicui18n libicule libiculx libicutu libicuio"
37
38FILES_libicudata = "${libdir}/libicudata.so.*"
39FILES_libicuuc = "${libdir}/libicuuc.so.*"
40FILES_libicui18n = "${libdir}/libicui18n.so.*"
41FILES_libicule = "${libdir}/libicule.so.*"
42FILES_libiculx = "${libdir}/libiculx.so.*"
43FILES_libicutu = "${libdir}/libicutu.so.*"
44FILES_libicuio = "${libdir}/libicuio.so.*"
45
46BBCLASSEXTEND = "native"