diff options
author | Chris Lord <chris@openedhand.com> | 2007-12-06 10:23:27 +0000 |
---|---|---|
committer | Chris Lord <chris@openedhand.com> | 2007-12-06 10:23:27 +0000 |
commit | 2517420cbef24dd1e9a903a8659d41d083a57e23 (patch) | |
tree | d3a718c3a47ec0c746907395ca9c7bd072540ab3 /meta/packages/icu | |
parent | 8ccfa5c993a20c92ef7a2630ed37dea6d1159a89 (diff) | |
download | poky-2517420cbef24dd1e9a903a8659d41d083a57e23.tar.gz |
Import files from OE to build WebKit (patch to link icu required)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3317 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/icu')
-rw-r--r-- | meta/packages/icu/icu-3.6.inc | 15 | ||||
-rw-r--r-- | meta/packages/icu/icu-native_3.6.bb | 3 | ||||
-rw-r--r-- | meta/packages/icu/icu_3.6.bb | 38 |
3 files changed, 56 insertions, 0 deletions
diff --git a/meta/packages/icu/icu-3.6.inc b/meta/packages/icu/icu-3.6.inc new file mode 100644 index 0000000000..b9031e202a --- /dev/null +++ b/meta/packages/icu/icu-3.6.inc | |||
@@ -0,0 +1,15 @@ | |||
1 | |||
2 | LICENSE = "ICU" | ||
3 | |||
4 | SRC_URI = "ftp://ftp.software.ibm.com/software/globalization/icu/3.6/icu4c-3_6-src.tgz" | ||
5 | |||
6 | S = "${WORKDIR}/icu/source" | ||
7 | |||
8 | inherit autotools pkgconfig binconfig | ||
9 | |||
10 | do_configure() { | ||
11 | libtoolize --force | ||
12 | oe_runconf | ||
13 | } | ||
14 | |||
15 | |||
diff --git a/meta/packages/icu/icu-native_3.6.bb b/meta/packages/icu/icu-native_3.6.bb new file mode 100644 index 0000000000..887bfcac2f --- /dev/null +++ b/meta/packages/icu/icu-native_3.6.bb | |||
@@ -0,0 +1,3 @@ | |||
1 | require icu-3.6.inc | ||
2 | |||
3 | inherit native | ||
diff --git a/meta/packages/icu/icu_3.6.bb b/meta/packages/icu/icu_3.6.bb new file mode 100644 index 0000000000..6d312a4496 --- /dev/null +++ b/meta/packages/icu/icu_3.6.bb | |||
@@ -0,0 +1,38 @@ | |||
1 | require icu-3.6.inc | ||
2 | |||
3 | DEPENDS += "icu-native" | ||
4 | |||
5 | PR = "r2" | ||
6 | |||
7 | do_configure_append() { | ||
8 | for i in */Makefile */*.inc */*/Makefile */*/*.inc ; do | ||
9 | sed -i -e 's:$(INVOKE) $(BINDIR)/:$(INVOKE) :g' $i | ||
10 | sed -i -e 's:$(BINDIR)/::g' $i | ||
11 | done | ||
12 | sed -i -e 's:$(BINDIR)/::g' extra/uconv/pkgdata.inc || true | ||
13 | sed -i -e 's:$(BINDIR)/::g' extra/uconv/pkgdata.inc.in || true | ||
14 | } | ||
15 | |||
16 | do_compile() { | ||
17 | oe_runmake 'CXX=${CXX}' | ||
18 | } | ||
19 | |||
20 | do_install_append() { | ||
21 | chmod +x ${D}${libdir}/lib* | ||
22 | } | ||
23 | |||
24 | PACKAGES =+ "libicudata libicuuc libicui18n libicule libiculx libicutu libicuio" | ||
25 | |||
26 | FILES_libicudata = "${libdir}/libicudata.so.*" | ||
27 | FILES_libicuuc = "${libdir}/libicuuc.so.*" | ||
28 | FILES_libicui18n = "${libdir}/libicui18n.so.*" | ||
29 | FILES_libicule = "${libdir}/libicule.so.*" | ||
30 | FILES_libiculx = "${libdir}/libiculx.so.*" | ||
31 | FILES_libicutu = "${libdir}/libicutu.so.*" | ||
32 | FILES_libicuio = "${libdir}/libicuio.so.*" | ||
33 | |||
34 | do_stage() { | ||
35 | autotools_stage_all | ||
36 | } | ||
37 | |||
38 | |||