summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/texinfo/texinfo_4.8.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/texinfo/texinfo_4.8.bb')
-rw-r--r--meta/recipes-extended/texinfo/texinfo_4.8.bb56
1 files changed, 56 insertions, 0 deletions
diff --git a/meta/recipes-extended/texinfo/texinfo_4.8.bb b/meta/recipes-extended/texinfo/texinfo_4.8.bb
new file mode 100644
index 0000000000..6b36b97603
--- /dev/null
+++ b/meta/recipes-extended/texinfo/texinfo_4.8.bb
@@ -0,0 +1,56 @@
1SUMMARY = "Documentation system for on-line information and printed output"
2DESCRIPTION = "Texinfo is a documentation system that can produce both \
3online information and printed output from a single source file. The \
4GNU Project uses the Texinfo file format for most of its documentation."
5HOMEPAGE = "http://www.gnu.org/software/texinfo/"
6SECTION = "console/utils"
7LICENSE = "GPLv2"
8LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
9
10PROVIDES_append_class-native = " texinfo-4.8-replacement-native"
11
12DEPENDS = "zlib ncurses texinfo-4.8-replacement-native"
13DEPENDS_class-native = "zlib-native ncurses-native"
14
15TARGET_PATCH = "file://use_host_makedoc.patch \
16 file://using-native-makeinfo.patch \
17"
18TARGET_PATCH_class-native = ""
19
20SRC_URI = "${GNU_MIRROR}/texinfo/${BP}.tar.gz \
21 file://check-locale-h.patch \
22 file://do-compile-native-tools.patch \
23 ${TARGET_PATCH} \
24 "
25
26SRC_URI[md5sum] = "4e9a1a591ed236003d0d4b008bf07eef"
27SRC_URI[sha256sum] = "1f3cdeebe65fdf510f55d765ab1031b54416aa5bc2635b6a54ef9bcb2367c917"
28
29S = "${WORKDIR}/${BP}"
30tex_texinfo = "texmf/tex/texinfo"
31
32inherit gettext autotools
33
34do_install_append() {
35 mkdir -p ${D}${datadir}/${tex_texinfo}
36 install -p -m644 ${S}/doc/texinfo.tex ${S}/doc/txi-??.tex ${D}${datadir}/${tex_texinfo}
37}
38
39do_install_append_class-native() {
40 install -m 755 info/makedoc ${D}${bindir}
41 install -m 755 makeinfo/makeinfo ${D}${bindir}
42}
43
44PACKAGES += "info info-doc"
45
46FILES_info = "${bindir}/info ${bindir}/infokey ${bindir}/install-info"
47FILES_info-doc = "${infodir}/info.info ${infodir}/dir ${infodir}/info-*.info \
48 ${mandir}/man1/info.1* ${mandir}/man5/info.5* \
49 ${mandir}/man1/infokey.1* ${mandir}/man1/install-info.1*"
50
51FILES_${PN} = "${bindir}/makeinfo ${bindir}/texi* ${bindir}/pdftexi2dvi ${bindir}/pod2texi ${datadir}/texinfo"
52FILES_${PN}-doc = "${infodir}/texinfo* \
53 ${datadir}/${tex_texinfo} \
54 ${mandir}/man1 ${mandir}/man5"
55
56BBCLASSEXTEND = "native"