gettext: add extra package for libintl
authorHenning Heinold <heinold@inf.fu-berlin.de>
Thu, 21 Jan 2010 22:25:49 +0000 (23:25 +0100)
committerHenning Heinold <heinold@inf.fu-berlin.de>
Fri, 22 Jan 2010 02:08:49 +0000 (03:08 +0100)
* add extra package for libintl because it is mostly
  enough for running the stuff on targets
* let runtime conflict it with proxy-libintl
* bump PR

recipes/gettext/gettext_0.17.bb

index 2f8429c..2f7faa7 100644 (file)
@@ -2,12 +2,14 @@ DESCRIPTION = "The GNU internationalization library."
 HOMEPAGE = "http://www.gnu.org/software/gettext/gettext.html"
 SECTION = "libs"
 LICENSE = "GPLv3"
-PR = "r4"
+PR = "r5"
 DEPENDS = "gettext-native virtual/libiconv ncurses expat"
 DEPENDS_virtclass-native = ""
 PROVIDES = "virtual/libintl"
 PROVIDES_virtclass-native = ""
+RCONFLICTS_gettext-libintl = "proxy-libintl"
 
+BBCLASSEXTEND = "native nativesdk"
 
 SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \
           file://autotools.patch;patch=1 \
@@ -48,9 +50,9 @@ acpaths = '-I ${S}/autoconf-lib-link/m4/ \
 # 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"
+PACKAGES =+ "gettext-libintl libgettextlib libgettextsrc"
+
+FILES_gettext-libintl = "${libdir}/libintl*.so.*"
 FILES_libgettextlib = "${libdir}/libgettextlib-*.so*"
 FILES_libgettextsrc = "${libdir}/libgettextsrc-*.so*"
 
-BBCLASSEXTEND = "native nativesdk"
-