diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-18 00:16:53 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-18 00:16:53 +0000 |
commit | 770af5b1f5dc947b0cf3491cef4a9d0829625180 (patch) | |
tree | 880eb30a0b19d78875f6537906e2803d12709e1e /meta | |
parent | 5e6726dc19e8db3987bbf84beb41ca845bf5921e (diff) | |
download | openembedded-core-770af5b1f5dc947b0cf3491cef4a9d0829625180.tar.gz openembedded-core-770af5b1f5dc947b0cf3491cef4a9d0829625180.tar.bz2 openembedded-core-770af5b1f5dc947b0cf3491cef4a9d0829625180.zip |
gettext: Convert to use BBCLASSEXTEND
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/packages/gettext/gettext-native_0.17.bb | 67 | ||||
-rw-r--r-- | meta/packages/gettext/gettext_0.17.bb | 6 |
2 files changed, 5 insertions, 68 deletions
diff --git a/meta/packages/gettext/gettext-native_0.17.bb b/meta/packages/gettext/gettext-native_0.17.bb deleted file mode 100644 index c73a19d78d..0000000000 --- a/meta/packages/gettext/gettext-native_0.17.bb +++ /dev/null @@ -1,67 +0,0 @@ -require gettext_${PV}.bb -PR = "r3" - -DEPENDS = "" -PROVIDES = "" - -inherit native - -S = "${WORKDIR}/gettext-${PV}" -FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gettext-${PV}" - -M4 = "\ -ansi-c++.m4 \ -codeset.m4 \ -gettext.m4 \ -glibc21.m4 \ -glibc2.m4 \ -iconv.m4 \ -intdiv0.m4 \ -intldir.m4 \ -intl.m4 \ -intlmacosx.m4 \ -intmax.m4 \ -inttypes_h.m4 \ -inttypes-pri.m4 \ -lcmessage.m4 \ -lock.m4 \ -longlong.m4 \ -nls.m4 \ -po.m4 \ -printf-posix.m4 \ -progtest.m4 \ -size_max.m4 \ -stdint_h.m4 \ -uintmax_t.m4 \ -visibility.m4 \ -wchar_t.m4 \ -wint_t.m4 \ -xsize.m4 \ -lib-ld.m4 \ -lib-link.m4 \ -lib-prefix.m4 \ -" - -do_stage_append() { - for i in ${M4}; do - src="gettext-runtime/m4/$i" - if [ ! -f $src ]; then - src="gettext-tools/m4/$i" - fi - if [ ! -f $src ]; then - src="autoconf-lib-link/m4/$i" - fi - if [ ! -f $src ]; then - echo "can't find $i" >&2 - exit 1 - fi - install -m 0644 $src ${STAGING_DATADIR}/aclocal/$i - done - - # config.rpath is needed by some configure macros and needs to be autoinstalled. - # automake will do this but config.rpath needs to be visible to automake - for i in `ls -d ${STAGING_DATADIR}/automake*` - do - cp ${STAGING_DATADIR}/gettext/config.rpath $i - done -} diff --git a/meta/packages/gettext/gettext_0.17.bb b/meta/packages/gettext/gettext_0.17.bb index 73ffead49c..fccc086e16 100644 --- a/meta/packages/gettext/gettext_0.17.bb +++ b/meta/packages/gettext/gettext_0.17.bb @@ -2,9 +2,11 @@ DESCRIPTION = "The GNU internationalization library." HOMEPAGE = "http://www.gnu.org/software/gettext/gettext.html" SECTION = "libs" LICENSE = "GPLv3" -PR = "r3" +PR = "r4" DEPENDS = "gettext-native virtual/libiconv ncurses expat" +DEPENDS_virtclass-native = "" PROVIDES = "virtual/libintl" +PROVIDES_virtclass-native = "" SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \ file://autotools.patch;patch=1 \ @@ -48,3 +50,5 @@ acpaths = '-I ${S}/autoconf-lib-link/m4/ \ PACKAGES =+ "libgettextlib libgettextsrc" FILES_libgettextlib = "${libdir}/libgettextlib-*.so*" FILES_libgettextsrc = "${libdir}/libgettextsrc-*.so*" + +BBCLASSEXTEND = "native" |