diff options
Diffstat (limited to 'meta/recipes-core/gettext/gettext_0.18.1.1.bb')
-rw-r--r-- | meta/recipes-core/gettext/gettext_0.18.1.1.bb | 110 |
1 files changed, 0 insertions, 110 deletions
diff --git a/meta/recipes-core/gettext/gettext_0.18.1.1.bb b/meta/recipes-core/gettext/gettext_0.18.1.1.bb deleted file mode 100644 index 4639481a54..0000000000 --- a/meta/recipes-core/gettext/gettext_0.18.1.1.bb +++ /dev/null | |||
@@ -1,110 +0,0 @@ | |||
1 | SUMMARY = "Utilities and libraries for producing multi-lingual messages." | ||
2 | DESCRIPTION = "Gettext offers to programmers, translators, and even users, a well integrated set of tools and documentation. Specifically, the GNU `gettext' utilities are a set of tools that provides a framework to help other GNU packages produce multi-lingual messages. These tools include a set of conventions about how programs should be written to support message catalogs, a directory and file naming organization for the message catalogs themselves, a runtime library supporting the retrieval of translated messages, and a few stand-alone programs to massage in various ways the sets of translatable strings, or already translated strings." | ||
3 | HOMEPAGE = "http://www.gnu.org/software/gettext/gettext.html" | ||
4 | SECTION = "libs" | ||
5 | LICENSE = "GPLv3+ & LGPL-2.1+" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | ||
7 | |||
8 | PR = "r19" | ||
9 | DEPENDS = "gettext-native virtual/libiconv ncurses expat" | ||
10 | DEPENDS_class-native = "gettext-minimal-native" | ||
11 | PROVIDES = "virtual/libintl virtual/gettext" | ||
12 | PROVIDES_class-native = "virtual/gettext-native" | ||
13 | RCONFLICTS_${PN} = "proxy-libintl" | ||
14 | SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \ | ||
15 | file://parallel.patch \ | ||
16 | file://remove_gets.patch \ | ||
17 | " | ||
18 | |||
19 | SRC_URI_append_libc-uclibc = " file://wchar-uclibc.patch \ | ||
20 | file://gnulib-uclibc-sched_param-def.patch \ | ||
21 | " | ||
22 | LDFLAGS_prepend_libc-uclibc = " -lrt -lpthread " | ||
23 | |||
24 | SRC_URI[md5sum] = "3dd55b952826d2b32f51308f2f91aa89" | ||
25 | SRC_URI[sha256sum] = "93ac71a7afa5b70c1b1032516663658c51e653087f42a3fc8044752c026443e9" | ||
26 | |||
27 | inherit autotools | ||
28 | |||
29 | EXTRA_OECONF += "--without-lispdir \ | ||
30 | --disable-csharp \ | ||
31 | --disable-libasprintf \ | ||
32 | --disable-java \ | ||
33 | --disable-native-java \ | ||
34 | --disable-openmp \ | ||
35 | --disable-acl \ | ||
36 | --with-included-glib \ | ||
37 | --with-libncurses-prefix=${STAGING_LIBDIR}/.. \ | ||
38 | --without-emacs \ | ||
39 | --without-cvs \ | ||
40 | --without-git \ | ||
41 | --with-included-libxml \ | ||
42 | --with-included-libcroco \ | ||
43 | --with-included-libunistring \ | ||
44 | " | ||
45 | |||
46 | acpaths = '-I ${S}/gettext-runtime/m4 \ | ||
47 | -I ${S}/gettext-tools/m4' | ||
48 | |||
49 | |||
50 | # these lack the .x behind the .so, but shouldn't be in the -dev package | ||
51 | # Otherwise you get the following results: | ||
52 | # 7.4M glibc/images/ep93xx/Angstrom-console-image-glibc-ipk-2008.1-test-20080104-ep93xx.rootfs.tar.gz | ||
53 | # 25M uclibc/images/ep93xx/Angstrom-console-image-uclibc-ipk-2008.1-test-20080104-ep93xx.rootfs.tar.gz | ||
54 | # because gettext depends on gettext-dev, which pulls in more -dev packages: | ||
55 | # 15228 KiB /ep93xx/libstdc++-dev_4.2.2-r2_ep93xx.ipk | ||
56 | # 1300 KiB /ep93xx/uclibc-dev_0.9.29-r8_ep93xx.ipk | ||
57 | # 140 KiB /armv4t/gettext-dev_0.14.1-r6_armv4t.ipk | ||
58 | # 4 KiB /ep93xx/libgcc-s-dev_4.2.2-r2_ep93xx.ipk | ||
59 | |||
60 | PACKAGES =+ "libgettextlib libgettextsrc" | ||
61 | FILES_libgettextlib = "${libdir}/libgettextlib-*.so*" | ||
62 | FILES_libgettextsrc = "${libdir}/libgettextsrc-*.so*" | ||
63 | |||
64 | PACKAGES =+ "gettext-runtime gettext-runtime-dev gettext-runtime-doc" | ||
65 | |||
66 | FILES_${PN} += "${libdir}/${BPN}/*" | ||
67 | |||
68 | FILES_gettext-runtime = "${bindir}/gettext \ | ||
69 | ${bindir}/ngettext \ | ||
70 | ${bindir}/envsubst \ | ||
71 | ${bindir}/gettext.sh \ | ||
72 | ${libdir}/libasprintf.so* \ | ||
73 | ${libdir}/GNU.Gettext.dll \ | ||
74 | " | ||
75 | FILES_gettext-runtime_append_libc-uclibc = " ${libdir}/libintl.so.* \ | ||
76 | ${libdir}/charset.alias \ | ||
77 | " | ||
78 | FILES_gettext-runtime-dev += "${libdir}/libasprintf.a \ | ||
79 | ${includedir}/autosprintf.h \ | ||
80 | " | ||
81 | FILES_gettext-runtime-dev_append_libc-uclibc = " ${libdir}/libintl.so \ | ||
82 | ${includedir}/libintl.h \ | ||
83 | " | ||
84 | FILES_gettext-runtime-doc = "${mandir}/man1/gettext.* \ | ||
85 | ${mandir}/man1/ngettext.* \ | ||
86 | ${mandir}/man1/envsubst.* \ | ||
87 | ${mandir}/man1/.* \ | ||
88 | ${mandir}/man3/* \ | ||
89 | ${docdir}/gettext/gettext.* \ | ||
90 | ${docdir}/gettext/ngettext.* \ | ||
91 | ${docdir}/gettext/envsubst.* \ | ||
92 | ${docdir}/gettext/*.3.html \ | ||
93 | ${datadir}/gettext/ABOUT-NLS \ | ||
94 | ${docdir}/gettext/csharpdoc/* \ | ||
95 | ${docdir}/libasprintf/autosprintf.html \ | ||
96 | ${infodir}/autosprintf.info \ | ||
97 | " | ||
98 | |||
99 | do_install_append() { | ||
100 | rm -f ${D}${libdir}/preloadable_libintl.so | ||
101 | } | ||
102 | |||
103 | do_install_append_class-native () { | ||
104 | rm ${D}${datadir}/aclocal/* | ||
105 | rm ${D}${datadir}/gettext/config.rpath | ||
106 | rm ${D}${datadir}/gettext/po/Makefile.in.in | ||
107 | rm ${D}${datadir}/gettext/po/remove-potcdate.sin | ||
108 | } | ||
109 | |||
110 | BBCLASSEXTEND = "native nativesdk" | ||