diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:11 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:57 +0100 |
commit | d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612 (patch) | |
tree | f36fe3008f36ff75cbdd31b630f8f13f1f205ebb /meta/recipes-support/icu/icu-3.6.inc | |
parent | caab7fc509bf27706ff3248689f6afd04225cfda (diff) | |
download | openembedded-core-contrib-d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612.tar.gz |
packages: Separate out most of the remaining packages into recipes
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-support/icu/icu-3.6.inc')
-rw-r--r-- | meta/recipes-support/icu/icu-3.6.inc | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/meta/recipes-support/icu/icu-3.6.inc b/meta/recipes-support/icu/icu-3.6.inc new file mode 100644 index 00000000000..1c611bdf367 --- /dev/null +++ b/meta/recipes-support/icu/icu-3.6.inc @@ -0,0 +1,55 @@ +DESCRIPTION = "The International Component for Unicode (ICU) is a mature, portable set of C/C++ and Java libraries for Unicode support, software internationalization (I18N) and globalization (G11N), giving applications the same results on all platforms." +HOMEPAGE = "http://www-01.ibm.com/software/globalization/icu/index.jsp" + +BASE_SRC_URI = "ftp://ftp.software.ibm.com/software/globalization/icu/3.6/icu4c-3_6-src.tgz \ + file://gccfix.patch;apply=yes \ + file://use-g++-for-linking.patch;apply=yes" +SRC_URI = "${BASE_SRC_URI} \ + file://noldlibpath.patch;apply=yes" +SRC_URI_virtclass-native = "${BASE_SRC_URI}" + +LICENSE = "ICU" +LIC_FILES_CHKSUM = "file://../license.html;md5=5c94767cedb5d6987c902ac850ded2c6" +DEPENDS = "icu-native" +DEPENDS_virtclass-native = "" + +S = "${WORKDIR}/icu/source" + +PARALLEL_MAKE = "" +FULL_OPTIMIZATION_arm = "-Os" + +inherit autotools pkgconfig binconfig + +do_configure() { + libtoolize --force + gnu-configize --force + oe_runconf + if [ "${PN}" != "icu-native" ]; then + # In the non-native case we need to make substitutions to use + # the native versions of the tools + for i in */Makefile* */*.inc */*/Makefile* */*/*.inc */*/*.inc.in ; do + sed -i -e 's:$(INVOKE) $(BINDIR)/:$(INVOKE) :g' $i + sed -i -e 's:$(BINDIR)/::g' $i + done + fi +} + +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.*" + +BBCLASSEXTEND = "native" |