From 2517420cbef24dd1e9a903a8659d41d083a57e23 Mon Sep 17 00:00:00 2001
From: Chris Lord <chris@openedhand.com>
Date: Thu, 6 Dec 2007 10:23:27 +0000
Subject: 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
---
 meta/packages/icu/icu-3.6.inc       | 15 +++++++++++++++
 meta/packages/icu/icu-native_3.6.bb |  3 +++
 meta/packages/icu/icu_3.6.bb        | 38 +++++++++++++++++++++++++++++++++++++
 3 files changed, 56 insertions(+)
 create mode 100644 meta/packages/icu/icu-3.6.inc
 create mode 100644 meta/packages/icu/icu-native_3.6.bb
 create mode 100644 meta/packages/icu/icu_3.6.bb

(limited to 'meta/packages/icu')

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 @@
+
+LICENSE = "ICU"
+
+SRC_URI = "ftp://ftp.software.ibm.com/software/globalization/icu/3.6/icu4c-3_6-src.tgz"
+
+S = "${WORKDIR}/icu/source"
+
+inherit autotools pkgconfig binconfig
+
+do_configure() {
+	libtoolize --force
+	oe_runconf
+}	
+
+
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 @@
+require icu-3.6.inc
+
+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 @@
+require icu-3.6.inc
+
+DEPENDS += "icu-native"
+
+PR = "r2"
+
+do_configure_append() {
+        for i in */Makefile */*.inc */*/Makefile */*/*.inc ; do
+		sed -i -e 's:$(INVOKE) $(BINDIR)/:$(INVOKE) :g' $i 
+		sed -i -e 's:$(BINDIR)/::g' $i 
+        done
+	sed -i -e 's:$(BINDIR)/::g' extra/uconv/pkgdata.inc || true
+	sed -i -e 's:$(BINDIR)/::g' extra/uconv/pkgdata.inc.in || true
+}
+
+do_compile() {
+	oe_runmake 'CXX=${CXX}'
+}
+
+do_install_append() {
+        chmod +x ${D}${libdir}/lib*
+}
+
+PACKAGES =+ "libicudata libicuuc libicui18n libicule libiculx libicutu libicuio"
+
+FILES_libicudata = "${libdir}/libicudata.so.*"
+FILES_libicuuc = "${libdir}/libicuuc.so.*"
+FILES_libicui18n = "${libdir}/libicui18n.so.*"
+FILES_libicule = "${libdir}/libicule.so.*"
+FILES_libiculx = "${libdir}/libiculx.so.*"
+FILES_libicutu = "${libdir}/libicutu.so.*"
+FILES_libicuio = "${libdir}/libicuio.so.*"
+
+do_stage() {
+        autotools_stage_all
+}	
+
+
-- 
cgit v1.2.3