diff options
Diffstat (limited to 'meta/packages/icu/icu-3.6.inc')
-rw-r--r-- | meta/packages/icu/icu-3.6.inc | 39 |
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 | ||
2 | LICENSE = "ICU" | ||
3 | |||
4 | SRC_URI = "ftp://ftp.software.ibm.com/software/globalization/icu/3.6/icu4c-3_6-src.tgz \ | 2 | SRC_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" | ||
5 | LICENSE = "ICU" | ||
6 | DEPENDS = "icu-native" | ||
7 | DEPENDS_virtclass-native = "" | ||
6 | 8 | ||
7 | S = "${WORKDIR}/icu/source" | 9 | S = "${WORKDIR}/icu/source" |
8 | 10 | ||
9 | PARALLEL_MAKE = "" | 11 | PARALLEL_MAKE = "" |
12 | FULL_OPTIMIZATION_arm = "-Os" | ||
10 | 13 | ||
11 | inherit autotools_stage pkgconfig binconfig | 14 | inherit 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 | |||
28 | do_compile() { | ||
29 | oe_runmake 'CXX=${CXX}' | ||
30 | } | ||
31 | |||
32 | do_install_append() { | ||
33 | chmod +x ${D}${libdir}/lib* | ||
34 | } | ||
35 | |||
36 | PACKAGES =+ "libicudata libicuuc libicui18n libicule libiculx libicutu libicuio" | ||
37 | |||
38 | FILES_libicudata = "${libdir}/libicudata.so.*" | ||
39 | FILES_libicuuc = "${libdir}/libicuuc.so.*" | ||
40 | FILES_libicui18n = "${libdir}/libicui18n.so.*" | ||
41 | FILES_libicule = "${libdir}/libicule.so.*" | ||
42 | FILES_libiculx = "${libdir}/libiculx.so.*" | ||
43 | FILES_libicutu = "${libdir}/libicutu.so.*" | ||
44 | FILES_libicuio = "${libdir}/libicuio.so.*" | ||
45 | |||
46 | BBCLASSEXTEND = "native" | ||