summaryrefslogtreecommitdiffstats
path: root/meta/packages/gettext/gettext-native_0.17.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/gettext/gettext-native_0.17.bb')
-rw-r--r--meta/packages/gettext/gettext-native_0.17.bb67
1 files changed, 67 insertions, 0 deletions
diff --git a/meta/packages/gettext/gettext-native_0.17.bb b/meta/packages/gettext/gettext-native_0.17.bb
new file mode 100644
index 0000000000..c73a19d78d
--- /dev/null
+++ b/meta/packages/gettext/gettext-native_0.17.bb
@@ -0,0 +1,67 @@
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}