mirror of
https://git.yoctoproject.org/poky
synced 2026-04-27 03:32:12 +02:00
How to upgrade gettext-minimal-native:
- Build gettext-native
- Copy gettext-runtime/po/Makefile.in.in, build-aux/config.rpath and
gettext-runtime/po/remove-potcdate.sin from gettext-native.
- Update COPYING when needed (usually update the year), do not copy
the whole COPYING file from gettext-native.
- Go to gettext-native's ${S}/gettext-runtime/m4:
> Remove lt*.m4 and libtool.m4
> copy lib-ld.m4 lib-link.m4 lib-prefix.m4 from ${S}/gettext-runtime/gnulib-m4/
> tar czvf /path/to/aclocal.tgz *.m4
(From OE-Core rev: 2b82c24a6b0148d1cc548605eab9be85f356ab6d)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
32 lines
1.0 KiB
BlitzBasic
32 lines
1.0 KiB
BlitzBasic
SUMMARY = "Minimal gettext for supporting native autoconf/automake"
|
|
DESCRIPTION = "Contains the m4 macros sufficient to support building \
|
|
autoconf/automake. This provides a significant build time speedup by \
|
|
the removal of gettext-native from most dependency chains (now only \
|
|
needed for gettext for the target)."
|
|
SRC_URI = "file://aclocal.tgz \
|
|
file://config.rpath \
|
|
file://Makefile.in.in \
|
|
file://remove-potcdate.sin \
|
|
file://COPYING \
|
|
file://0001-PATCH-Disable-the-test-to-convert-euc-jp.patch \
|
|
"
|
|
|
|
INHIBIT_DEFAULT_DEPS = "1"
|
|
INHIBIT_AUTOTOOLS_DEPS = "1"
|
|
|
|
LICENSE = "FSF-Unlimited"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=4bd090a20bfcd1a18f1f79837b5e3e91"
|
|
|
|
inherit native
|
|
|
|
S = "${WORKDIR}"
|
|
|
|
do_install () {
|
|
install -d ${D}${datadir}/aclocal/
|
|
cp ${WORKDIR}/*.m4 ${D}${datadir}/aclocal/
|
|
install -d ${D}${datadir}/gettext/po/
|
|
cp ${WORKDIR}/config.rpath ${D}${datadir}/gettext/
|
|
cp ${WORKDIR}/Makefile.in.in ${D}${datadir}/gettext/po/
|
|
cp ${WORKDIR}/remove-potcdate.sin ${D}${datadir}/gettext/po/
|
|
}
|