diff options
author | Adrian Dudau <adrian.dudau@enea.com> | 2013-12-12 13:38:32 +0100 |
---|---|---|
committer | Adrian Dudau <adrian.dudau@enea.com> | 2013-12-12 13:50:20 +0100 |
commit | e2e6f6fe07049f33cb6348780fa975162752e421 (patch) | |
tree | b1813295411235d1297a0ed642b1346b24fdfb12 /meta/recipes-core/gettext/gettext_0.16.1.bb | |
download | poky-e2e6f6fe07049f33cb6348780fa975162752e421.tar.gz |
initial commit of Enea Linux 3.1
Migrated from the internal git server on the dora-enea branch
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'meta/recipes-core/gettext/gettext_0.16.1.bb')
-rw-r--r-- | meta/recipes-core/gettext/gettext_0.16.1.bb | 97 |
1 files changed, 97 insertions, 0 deletions
diff --git a/meta/recipes-core/gettext/gettext_0.16.1.bb b/meta/recipes-core/gettext/gettext_0.16.1.bb new file mode 100644 index 0000000000..db8314b02c --- /dev/null +++ b/meta/recipes-core/gettext/gettext_0.16.1.bb | |||
@@ -0,0 +1,97 @@ | |||
1 | DESCRIPTION = "The GNU internationalization library." | ||
2 | HOMEPAGE = "http://www.gnu.org/software/gettext/gettext.html" | ||
3 | SECTION = "libs" | ||
4 | LICENSE = "GPLv2" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=9ea3144f04c41cd2eada5d3f472e6ea5" | ||
6 | |||
7 | PR = "r6" | ||
8 | DEPENDS = "virtual/libiconv" | ||
9 | DEPENDS_class-native = "" | ||
10 | PROVIDES = "virtual/libintl virtual/gettext" | ||
11 | PROVIDES_class-native = "" | ||
12 | |||
13 | SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \ | ||
14 | file://gettext-vpath.patch \ | ||
15 | file://linklib_from_0.17.patch \ | ||
16 | file://gettext-autoconf-lib-link-no-L.patch \ | ||
17 | file://disable_java.patch \ | ||
18 | file://fix_aclocal_version.patch \ | ||
19 | file://fix_gnu_source_circular.patch \ | ||
20 | file://hardcode_macro_version.patch \ | ||
21 | " | ||
22 | |||
23 | |||
24 | SRC_URI_append_linux-uclibc = " file://gettext-error_print_progname.patch" | ||
25 | SRC_URI_append_linux-uclibceabi = " file://gettext-error_print_progname.patch" | ||
26 | |||
27 | SRC_URI[md5sum] = "3d9ad24301c6d6b17ec30704a13fe127" | ||
28 | SRC_URI[sha256sum] = "0bf850d1a079fb5a61f0a47b1a9efd35eb44032255375e1cedb0253bc27b376d" | ||
29 | |||
30 | PARALLEL_MAKE = "" | ||
31 | |||
32 | inherit autotools | ||
33 | |||
34 | EXTRA_OECONF += "--without-lisp --disable-csharp --disable-openmp --without-emacs" | ||
35 | acpaths = '-I ${S}/autoconf-lib-link/m4/ \ | ||
36 | -I ${S}/gettext-runtime/m4 \ | ||
37 | -I ${S}/gettext-tools/m4' | ||
38 | |||
39 | do_configure_prepend() { | ||
40 | rm -f ${S}/config/m4/libtool.m4 | ||
41 | } | ||
42 | |||
43 | # these lack the .x behind the .so, but shouldn't be in the -dev package | ||
44 | # Otherwise you get the following results: | ||
45 | # 7.4M glibc/images/ep93xx/Angstrom-console-image-glibc-ipk-2008.1-test-20080104-ep93xx.rootfs.tar.gz | ||
46 | # 25M uclibc/images/ep93xx/Angstrom-console-image-uclibc-ipk-2008.1-test-20080104-ep93xx.rootfs.tar.gz | ||
47 | # because gettext depends on gettext-dev, which pulls in more -dev packages: | ||
48 | # 15228 KiB /ep93xx/libstdc++-dev_4.2.2-r2_ep93xx.ipk | ||
49 | # 1300 KiB /ep93xx/uclibc-dev_0.9.29-r8_ep93xx.ipk | ||
50 | # 140 KiB /armv4t/gettext-dev_0.14.1-r6_armv4t.ipk | ||
51 | # 4 KiB /ep93xx/libgcc-s-dev_4.2.2-r2_ep93xx.ipk | ||
52 | |||
53 | PACKAGES =+ "libgettextlib libgettextsrc" | ||
54 | FILES_libgettextlib = "${libdir}/libgettextlib-*.so*" | ||
55 | FILES_libgettextsrc = "${libdir}/libgettextsrc-*.so*" | ||
56 | |||
57 | PACKAGES =+ "gettext-runtime gettext-runtime-dev gettext-runtime-staticdev gettext-runtime-doc" | ||
58 | |||
59 | FILES_${PN} += "${libdir}/${BPN}/*" | ||
60 | |||
61 | FILES_gettext-runtime = "${bindir}/gettext \ | ||
62 | ${bindir}/ngettext \ | ||
63 | ${bindir}/envsubst \ | ||
64 | ${bindir}/gettext.sh \ | ||
65 | ${libdir}/libasprintf${SODEV} \ | ||
66 | ${libdir}/GNU.Gettext.dll \ | ||
67 | " | ||
68 | FILES_gettext-runtime_append_libc-uclibc = " ${libdir}/libintl.so.* \ | ||
69 | ${libdir}/charset.alias \ | ||
70 | " | ||
71 | FILES_gettext-runtime-staticdev += "${libdir}/libasprintf.a" | ||
72 | FILES_gettext-runtime-dev += "${includedir}/autosprintf.h \ | ||
73 | ${libdir}/libasprintf${SOLIBDEV}" | ||
74 | FILES_gettext-runtime-dev_append_libc-uclibc = " ${libdir}/libintl.so \ | ||
75 | ${includedir}/libintl.h \ | ||
76 | " | ||
77 | FILES_gettext-runtime-doc = "${mandir}/man1/gettext.* \ | ||
78 | ${mandir}/man1/ngettext.* \ | ||
79 | ${mandir}/man1/envsubst.* \ | ||
80 | ${mandir}/man1/.* \ | ||
81 | ${mandir}/man3/* \ | ||
82 | ${docdir}/gettext/gettext.* \ | ||
83 | ${docdir}/gettext/ngettext.* \ | ||
84 | ${docdir}/gettext/envsubst.* \ | ||
85 | ${docdir}/gettext/*.3.html \ | ||
86 | ${datadir}/gettext/ABOUT-NLS \ | ||
87 | ${docdir}/gettext/csharpdoc/* \ | ||
88 | ${docdir}/libasprintf/autosprintf.html \ | ||
89 | ${infodir}/autosprintf.info \ | ||
90 | " | ||
91 | |||
92 | |||
93 | do_install_append() { | ||
94 | rm -f ${D}${libdir}/preloadable_libintl.so | ||
95 | } | ||
96 | |||
97 | BBCLASSEXTEND = "native nativesdk" | ||