summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-04-21 11:48:52 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-04-28 10:45:44 +0100
commitd31c44397e2094cf2b6ac9067150d56694b8a7ba (patch)
treeed209678443b87e5c11aeb296a6c6d78c40ee5fb /meta
parent34e8e9e28587498c7907b01ea5623253a5ced9ef (diff)
downloadpoky-d31c44397e2094cf2b6ac9067150d56694b8a7ba.tar.gz
gettext: Divide packaging into gettext-runtime and rest
This helps in footprint on space constrained systems e.g. uclibc based systems where packaging full gettext just for libintl can be waste of space. (From OE-Core rev: cdf36c44ada6ccdd2b020d1271ff01e285615016) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/gettext/gettext_0.17.bb35
1 files changed, 31 insertions, 4 deletions
diff --git a/meta/recipes-core/gettext/gettext_0.17.bb b/meta/recipes-core/gettext/gettext_0.17.bb
index b9c4e1ca6e..bfcb5ea398 100644
--- a/meta/recipes-core/gettext/gettext_0.17.bb
+++ b/meta/recipes-core/gettext/gettext_0.17.bb
@@ -53,9 +53,36 @@ acpaths = '-I ${S}/autoconf-lib-link/m4/ \
53# 1300 KiB /ep93xx/uclibc-dev_0.9.29-r8_ep93xx.ipk 53# 1300 KiB /ep93xx/uclibc-dev_0.9.29-r8_ep93xx.ipk
54# 140 KiB /armv4t/gettext-dev_0.14.1-r6_armv4t.ipk 54# 140 KiB /armv4t/gettext-dev_0.14.1-r6_armv4t.ipk
55# 4 KiB /ep93xx/libgcc-s-dev_4.2.2-r2_ep93xx.ipk 55# 4 KiB /ep93xx/libgcc-s-dev_4.2.2-r2_ep93xx.ipk
56PACKAGES =+ "gettext-runtime gettext-runtime-dev gettext-runtime-doc"
56 57
57PACKAGES =+ "libgettextlib libgettextsrc" 58FILES_gettext-runtime = "${bindir}/gettext \
58FILES_libgettextlib = "${libdir}/libgettextlib-*.so*" 59 ${bindir}/ngettext \
59FILES_libgettextsrc = "${libdir}/libgettextsrc-*.so*" 60 ${bindir}/envsubst \
60 61 ${bindir}/gettext.sh \
62 ${libdir}/libasprintf.so* \
63 ${libdir}/GNU.Gettext.dll \
64 "
65FILES_gettext-runtime_append_libc-uclibc = " ${libdir}/libintl.so* \
66 ${libdir}/charset.alias \
67 "
68FILES_gettext-runtime-dev += "${libdir}/libasprintf.a \
69 ${includedir}/autosprintf.h \
70 "
71FILES_gettext-runtime-dev_append_libc-uclibc = " ${libdir}/libintl.a \
72 ${includedir}/libintl.h \
73 "
74FILES_gettext-runtime-doc = "${mandir}/man1/gettext.* \
75 ${mandir}/man1/ngettext.* \
76 ${mandir}/man1/envsubst.* \
77 ${mandir}/man1/.* \
78 ${mandir}/man3/* \
79 ${docdir}/gettext/gettext.* \
80 ${docdir}/gettext/ngettext.* \
81 ${docdir}/gettext/envsubst.* \
82 ${docdir}/gettext/*.3.html \
83 ${datadir}/gettext/ABOUT-NLS \
84 ${docdir}/gettext/csharpdoc/* \
85 ${docdir}/libasprintf/autosprintf.html \
86 ${infodir}/autosprintf.info \
87 "
61BBCLASSEXTEND = "native nativesdk" 88BBCLASSEXTEND = "native nativesdk"