summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-05 11:09:43 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-13 12:15:24 +0000
commit5c834057cbb1a51d97a3779a5d7835f462c98567 (patch)
tree264758f632c12991998ee28d006409fa176e6650 /meta
parent170604d54c297ab6c02deb957176d487dad06afe (diff)
downloadpoky-5c834057cbb1a51d97a3779a5d7835f462c98567.tar.gz
icu: Convert to BBCLASSEXTEND
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/icu/icu-3.6.inc39
-rw-r--r--meta/packages/icu/icu-native_3.6.bb5
-rw-r--r--meta/packages/icu/icu_3.6.bb28
3 files changed, 33 insertions, 39 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"
diff --git a/meta/packages/icu/icu-native_3.6.bb b/meta/packages/icu/icu-native_3.6.bb
deleted file mode 100644
index 90dd0c9378..0000000000
--- a/meta/packages/icu/icu-native_3.6.bb
+++ /dev/null
@@ -1,5 +0,0 @@
1require icu-3.6.inc
2
3inherit native
4
5PR = "r1"
diff --git a/meta/packages/icu/icu_3.6.bb b/meta/packages/icu/icu_3.6.bb
index 2df68f45e0..7490dbd6cf 100644
--- a/meta/packages/icu/icu_3.6.bb
+++ b/meta/packages/icu/icu_3.6.bb
@@ -1,37 +1,9 @@
1require icu-3.6.inc 1require icu-3.6.inc
2 2
3DEPENDS += "icu-native"
4PR = "r4" 3PR = "r4"
5 4
6FULL_OPTIMIZATION_arm = "-Os"
7 5
8SRC_URI += "file://use-g++-for-linking.patch;patch=1"
9 6
10do_configure_append() {
11 for i in */Makefile */*.inc */*/Makefile */*/*.inc ; do
12 sed -i -e 's:$(INVOKE) $(BINDIR)/:$(INVOKE) :g' $i
13 sed -i -e 's:$(BINDIR)/::g' $i
14 done
15 sed -i -e 's:$(BINDIR)/::g' extra/uconv/pkgdata.inc || true
16 sed -i -e 's:$(BINDIR)/::g' extra/uconv/pkgdata.inc.in || true
17}
18 7
19do_compile() {
20 oe_runmake 'CXX=${CXX}'
21}
22
23do_install_append() {
24 chmod +x ${D}${libdir}/lib*
25}
26
27PACKAGES =+ "libicudata libicuuc libicui18n libicule libiculx libicutu libicuio"
28
29FILES_libicudata = "${libdir}/libicudata.so.*"
30FILES_libicuuc = "${libdir}/libicuuc.so.*"
31FILES_libicui18n = "${libdir}/libicui18n.so.*"
32FILES_libicule = "${libdir}/libicule.so.*"
33FILES_libiculx = "${libdir}/libiculx.so.*"
34FILES_libicutu = "${libdir}/libicutu.so.*"
35FILES_libicuio = "${libdir}/libicuio.so.*"
36 8
37 9