summaryrefslogtreecommitdiffstats
path: root/meta/packages/gettext
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-18 00:16:53 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-18 00:16:53 +0000
commit770af5b1f5dc947b0cf3491cef4a9d0829625180 (patch)
tree880eb30a0b19d78875f6537906e2803d12709e1e /meta/packages/gettext
parent5e6726dc19e8db3987bbf84beb41ca845bf5921e (diff)
downloadpoky-770af5b1f5dc947b0cf3491cef4a9d0829625180.tar.gz
gettext: Convert to use BBCLASSEXTEND
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/gettext')
-rw-r--r--meta/packages/gettext/gettext-native_0.17.bb67
-rw-r--r--meta/packages/gettext/gettext_0.17.bb6
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 @@
1require gettext_${PV}.bb
2PR = "r3"
3
4DEPENDS = ""
5PROVIDES = ""
6
7inherit native
8
9S = "${WORKDIR}/gettext-${PV}"
10FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gettext-${PV}"
11
12M4 = "\
13ansi-c++.m4 \
14codeset.m4 \
15gettext.m4 \
16glibc21.m4 \
17glibc2.m4 \
18iconv.m4 \
19intdiv0.m4 \
20intldir.m4 \
21intl.m4 \
22intlmacosx.m4 \
23intmax.m4 \
24inttypes_h.m4 \
25inttypes-pri.m4 \
26lcmessage.m4 \
27lock.m4 \
28longlong.m4 \
29nls.m4 \
30po.m4 \
31printf-posix.m4 \
32progtest.m4 \
33size_max.m4 \
34stdint_h.m4 \
35uintmax_t.m4 \
36visibility.m4 \
37wchar_t.m4 \
38wint_t.m4 \
39xsize.m4 \
40lib-ld.m4 \
41lib-link.m4 \
42lib-prefix.m4 \
43"
44
45do_stage_append() {
46 for i in ${M4}; do
47 src="gettext-runtime/m4/$i"
48 if [ ! -f $src ]; then
49 src="gettext-tools/m4/$i"
50 fi
51 if [ ! -f $src ]; then
52 src="autoconf-lib-link/m4/$i"
53 fi
54 if [ ! -f $src ]; then
55 echo "can't find $i" >&2
56 exit 1
57 fi
58 install -m 0644 $src ${STAGING_DATADIR}/aclocal/$i
59 done
60
61 # config.rpath is needed by some configure macros and needs to be autoinstalled.
62 # automake will do this but config.rpath needs to be visible to automake
63 for i in `ls -d ${STAGING_DATADIR}/automake*`
64 do
65 cp ${STAGING_DATADIR}/gettext/config.rpath $i
66 done
67}
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."
2HOMEPAGE = "http://www.gnu.org/software/gettext/gettext.html" 2HOMEPAGE = "http://www.gnu.org/software/gettext/gettext.html"
3SECTION = "libs" 3SECTION = "libs"
4LICENSE = "GPLv3" 4LICENSE = "GPLv3"
5PR = "r3" 5PR = "r4"
6DEPENDS = "gettext-native virtual/libiconv ncurses expat" 6DEPENDS = "gettext-native virtual/libiconv ncurses expat"
7DEPENDS_virtclass-native = ""
7PROVIDES = "virtual/libintl" 8PROVIDES = "virtual/libintl"
9PROVIDES_virtclass-native = ""
8 10
9SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \ 11SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \
10 file://autotools.patch;patch=1 \ 12 file://autotools.patch;patch=1 \
@@ -48,3 +50,5 @@ acpaths = '-I ${S}/autoconf-lib-link/m4/ \
48PACKAGES =+ "libgettextlib libgettextsrc" 50PACKAGES =+ "libgettextlib libgettextsrc"
49FILES_libgettextlib = "${libdir}/libgettextlib-*.so*" 51FILES_libgettextlib = "${libdir}/libgettextlib-*.so*"
50FILES_libgettextsrc = "${libdir}/libgettextsrc-*.so*" 52FILES_libgettextsrc = "${libdir}/libgettextsrc-*.so*"
53
54BBCLASSEXTEND = "native"