From cdf36c44ada6ccdd2b020d1271ff01e285615016 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 21 Apr 2011 11:48:52 -0700 Subject: 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. Signed-off-by: Khem Raj --- meta/recipes-core/gettext/gettext_0.17.bb | 35 +++++++++++++++++++++++++++---- 1 file changed, 31 insertions(+), 4 deletions(-) (limited to 'meta') diff --git a/meta/recipes-core/gettext/gettext_0.17.bb b/meta/recipes-core/gettext/gettext_0.17.bb index b9c4e1ca6..bfcb5ea39 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/ \ # 1300 KiB /ep93xx/uclibc-dev_0.9.29-r8_ep93xx.ipk # 140 KiB /armv4t/gettext-dev_0.14.1-r6_armv4t.ipk # 4 KiB /ep93xx/libgcc-s-dev_4.2.2-r2_ep93xx.ipk +PACKAGES =+ "gettext-runtime gettext-runtime-dev gettext-runtime-doc" -PACKAGES =+ "libgettextlib libgettextsrc" -FILES_libgettextlib = "${libdir}/libgettextlib-*.so*" -FILES_libgettextsrc = "${libdir}/libgettextsrc-*.so*" - +FILES_gettext-runtime = "${bindir}/gettext \ + ${bindir}/ngettext \ + ${bindir}/envsubst \ + ${bindir}/gettext.sh \ + ${libdir}/libasprintf.so* \ + ${libdir}/GNU.Gettext.dll \ + " +FILES_gettext-runtime_append_libc-uclibc = " ${libdir}/libintl.so* \ + ${libdir}/charset.alias \ + " +FILES_gettext-runtime-dev += "${libdir}/libasprintf.a \ + ${includedir}/autosprintf.h \ + " +FILES_gettext-runtime-dev_append_libc-uclibc = " ${libdir}/libintl.a \ + ${includedir}/libintl.h \ + " +FILES_gettext-runtime-doc = "${mandir}/man1/gettext.* \ + ${mandir}/man1/ngettext.* \ + ${mandir}/man1/envsubst.* \ + ${mandir}/man1/.* \ + ${mandir}/man3/* \ + ${docdir}/gettext/gettext.* \ + ${docdir}/gettext/ngettext.* \ + ${docdir}/gettext/envsubst.* \ + ${docdir}/gettext/*.3.html \ + ${datadir}/gettext/ABOUT-NLS \ + ${docdir}/gettext/csharpdoc/* \ + ${docdir}/libasprintf/autosprintf.html \ + ${infodir}/autosprintf.info \ + " BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3