summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/texinfo
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-28 23:28:15 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-02 15:44:10 +0100
commitbb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch)
tree76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/recipes-extended/texinfo
parentfcc456ee4b8f619134abb4649db53c638074082c (diff)
downloadpoky-bb6ddc3691ab04162ec5fd69a2d5e7876713fd15.tar.gz
Convert to new override syntax
This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/texinfo')
-rw-r--r--meta/recipes-extended/texinfo/texinfo_6.8.bb28
1 files changed, 14 insertions, 14 deletions
diff --git a/meta/recipes-extended/texinfo/texinfo_6.8.bb b/meta/recipes-extended/texinfo/texinfo_6.8.bb
index 69af7cf21d..5a7cbef402 100644
--- a/meta/recipes-extended/texinfo/texinfo_6.8.bb
+++ b/meta/recipes-extended/texinfo/texinfo_6.8.bb
@@ -7,7 +7,7 @@ SECTION = "console/utils"
7LICENSE = "GPLv3+" 7LICENSE = "GPLv3+"
8LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464" 8LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464"
9 9
10PROVIDES_append_class-native = " texinfo-replacement-native" 10PROVIDES:append:class-native = " texinfo-replacement-native"
11 11
12def compress_pkg(d): 12def compress_pkg(d):
13 if bb.data.inherits_class('compress_doc', d): 13 if bb.data.inherits_class('compress_doc', d):
@@ -20,13 +20,13 @@ def compress_pkg(d):
20 return "xz" 20 return "xz"
21 return "" 21 return ""
22 22
23RDEPENDS_info += "${@compress_pkg(d)}" 23RDEPENDS:info += "${@compress_pkg(d)}"
24 24
25DEPENDS = "zlib ncurses texinfo-replacement-native" 25DEPENDS = "zlib ncurses texinfo-replacement-native"
26DEPENDS_class-native = "zlib-native ncurses-native" 26DEPENDS:class-native = "zlib-native ncurses-native"
27 27
28TARGET_PATCH = "file://use_host_makedoc.patch" 28TARGET_PATCH = "file://use_host_makedoc.patch"
29TARGET_PATCH_class-native = "" 29TARGET_PATCH:class-native = ""
30 30
31SRC_URI = "${GNU_MIRROR}/texinfo/${BP}.tar.gz \ 31SRC_URI = "${GNU_MIRROR}/texinfo/${BP}.tar.gz \
32 file://0001-gnulib-Update.patch \ 32 file://0001-gnulib-Update.patch \
@@ -46,38 +46,38 @@ MULTILIB_SCRIPTS = "${PN}:${bindir}/texi2any"
46 46
47EXTRA_AUTORECONF += "-I ${S}/gnulib/m4" 47EXTRA_AUTORECONF += "-I ${S}/gnulib/m4"
48 48
49do_configure_prepend () { 49do_configure:prepend () {
50 # autotools_do_configure updates po/Makefile.in.in, we also need 50 # autotools_do_configure updates po/Makefile.in.in, we also need
51 # update po_document. 51 # update po_document.
52 cp -f ${STAGING_DATADIR_NATIVE}/gettext/po/Makefile.in.in ${S}/po_document/ 52 cp -f ${STAGING_DATADIR_NATIVE}/gettext/po/Makefile.in.in ${S}/po_document/
53} 53}
54 54
55do_compile_prepend() { 55do_compile:prepend() {
56 if [ -d tools ];then 56 if [ -d tools ];then
57 oe_runmake -C tools/gnulib/lib 57 oe_runmake -C tools/gnulib/lib
58 fi 58 fi
59} 59}
60 60
61do_install_append() { 61do_install:append() {
62 mkdir -p ${D}${datadir}/${tex_texinfo} 62 mkdir -p ${D}${datadir}/${tex_texinfo}
63 install -p -m644 ${S}/doc/texinfo.tex ${S}/doc/txi-??.tex ${D}${datadir}/${tex_texinfo} 63 install -p -m644 ${S}/doc/texinfo.tex ${S}/doc/txi-??.tex ${D}${datadir}/${tex_texinfo}
64 sed -i -e '1s,#!.*perl,#! ${USRBINPATH}/env perl,' ${D}${bindir}/texi2any ${D}${bindir}/pod2texi 64 sed -i -e '1s,#!.*perl,#! ${USRBINPATH}/env perl,' ${D}${bindir}/texi2any ${D}${bindir}/pod2texi
65} 65}
66 66
67do_install_append_class-native() { 67do_install:append:class-native() {
68 install -m 755 info/makedoc ${D}${bindir} 68 install -m 755 info/makedoc ${D}${bindir}
69} 69}
70 70
71PACKAGES += "info info-doc" 71PACKAGES += "info info-doc"
72 72
73FILES_info = "${bindir}/info ${bindir}/infokey ${bindir}/install-info" 73FILES:info = "${bindir}/info ${bindir}/infokey ${bindir}/install-info"
74FILES_info-doc = "${infodir}/info.info* ${infodir}/dir ${infodir}/info-*.info* \ 74FILES:info-doc = "${infodir}/info.info* ${infodir}/dir ${infodir}/info-*.info* \
75 ${mandir}/man1/info.1* ${mandir}/man5/info.5* \ 75 ${mandir}/man1/info.1* ${mandir}/man5/info.5* \
76 ${mandir}/man1/infokey.1* ${mandir}/man1/install-info.1*" 76 ${mandir}/man1/infokey.1* ${mandir}/man1/install-info.1*"
77 77
78FILES_${PN} = "${bindir}/makeinfo ${bindir}/texi* ${bindir}/pdftexi2dvi ${bindir}/pod2texi ${datadir}/texinfo" 78FILES:${PN} = "${bindir}/makeinfo ${bindir}/texi* ${bindir}/pdftexi2dvi ${bindir}/pod2texi ${datadir}/texinfo"
79RDEPENDS_${PN} = "perl" 79RDEPENDS:${PN} = "perl"
80FILES_${PN}-doc = "${infodir}/texinfo* \ 80FILES:${PN}-doc = "${infodir}/texinfo* \
81 ${datadir}/${tex_texinfo} \ 81 ${datadir}/${tex_texinfo} \
82 ${mandir}/man1 ${mandir}/man5" 82 ${mandir}/man1 ${mandir}/man5"
83 83
@@ -85,6 +85,6 @@ FILES_${PN}-doc = "${infodir}/texinfo* \
85# but the code will test for it and if not found use Locale::gettext_pp instead. 85# but the code will test for it and if not found use Locale::gettext_pp instead.
86# However, this causes a file dependency on perl(Locale::gettext_xs) to be 86# However, this causes a file dependency on perl(Locale::gettext_xs) to be
87# generated, which must be satisfied. 87# generated, which must be satisfied.
88RPROVIDES_${PN} += "perl(Locale::gettext_xs)" 88RPROVIDES:${PN} += "perl(Locale::gettext_xs)"
89 89
90BBCLASSEXTEND = "native nativesdk" 90BBCLASSEXTEND = "native nativesdk"