[oe-commits] org.oe.dev gettext: fix packaging

koen commit openembedded-commits at lists.openembedded.org
Fri Jan 4 13:47:51 UTC 2008


gettext: fix packaging

Author: koen at openembedded.org
Branch: org.openembedded.dev
Revision: 8dd93c6476c0007dddb9f4352def801f43f16339
ViewMTN: http://monotone.openembedded.org/revision/info/8dd93c6476c0007dddb9f4352def801f43f16339
Files:
1
packages/gettext/gettext_0.14.1.bb
Diffs:

#
# mt diff -reb6f56b3844fedf18386caec8d2691373a243c26 -r8dd93c6476c0007dddb9f4352def801f43f16339
#
# 
# 
# patch "packages/gettext/gettext_0.14.1.bb"
#  from [ae084090fcdd110056d5ce81e5ee0a81bd15fffa]
#    to [7293581921c029392be4691314f4f9b6d79c1d09]
# 
============================================================
--- packages/gettext/gettext_0.14.1.bb	ae084090fcdd110056d5ce81e5ee0a81bd15fffa
+++ packages/gettext/gettext_0.14.1.bb	7293581921c029392be4691314f4f9b6d79c1d09
@@ -1,8 +1,8 @@ LICENSE = "GPL"
 DESCRIPTION = "The GNU internationalization library."
 HOMEPAGE = "http://www.gnu.org/software/gettext/gettext.html"
 SECTION = "libs"
 LICENSE = "GPL"
-PR = "r6"
+PR = "r7"
 PROVIDES = "virtual/libintl"
 
 SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \
@@ -28,6 +28,20 @@ do_configure_prepend() {
 	install -m 0644 ${STAGING_DATADIR}/aclocal/libtool.m4 ${S}/config/m4/
 }
 
+# these lack the .x behind the .so, but shouldn't be in the -dev package
+# Otherwise you get the following results:
+# 7.4M    glibc/images/ep93xx/Angstrom-console-image-glibc-ipk-2008.1-test-20080104-ep93xx.rootfs.tar.gz
+# 25M     uclibc/images/ep93xx/Angstrom-console-image-uclibc-ipk-2008.1-test-20080104-ep93xx.rootfs.tar.gz
+# because gettext depends on gettext-dev, which pulls in more -dev packages:
+# 15228   KiB /ep93xx/libstdc++-dev_4.2.2-r2_ep93xx.ipk
+# 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 =+ "libgettextlib libgettextsrc"
+FILES_libgettextlib = "${libdir}/libgettextlib-*.so*"
+FILES_libgettextsrc = "${libdir}/libgettextsrc-*.so*"
+
 do_stage () {
 	autotools_stage_includes
 	oe_libinstall -so -C gettext-tools/lib libgettextlib ${STAGING_LIBDIR}/






More information about the Openembedded-commits mailing list