summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/texinfo/texinfo_5.2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/texinfo/texinfo_5.2.bb')
-rw-r--r--meta/recipes-extended/texinfo/texinfo_5.2.bb62
1 files changed, 62 insertions, 0 deletions
diff --git a/meta/recipes-extended/texinfo/texinfo_5.2.bb b/meta/recipes-extended/texinfo/texinfo_5.2.bb
new file mode 100644
index 0000000000..c1ccaa7ef4
--- /dev/null
+++ b/meta/recipes-extended/texinfo/texinfo_5.2.bb
@@ -0,0 +1,62 @@
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 = "GPLv3+"
8LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
9
10DEPENDS = "zlib ncurses texinfo-native"
11DEPENDS_class-native = "zlib-native ncurses-native"
12
13TARGET_PATCH = "file://use_host_makedoc.patch"
14TARGET_PATCH_class-native = ""
15
16SRC_URI = "${GNU_MIRROR}/texinfo/${BP}.tar.gz \
17 file://texinfo-4.12-zlib.patch \
18 file://texinfo-4.13a-powerpc.patch \
19 file://disable-native-tools.patch \
20 file://link-zip.patch \
21 file://dont-depend-on-help2man.patch \
22 ${TARGET_PATCH} \
23 "
24
25SRC_URI[md5sum] = "1b8f98b80a8e6c50422125e07522e8db"
26SRC_URI[sha256sum] = "6b8ca30e9b6f093b54fe04439e5545e564c63698a806a48065c0bba16994cf74"
27
28S = "${WORKDIR}/${BP}"
29tex_texinfo = "texmf/tex/texinfo"
30
31inherit gettext autotools
32
33do_compile_prepend() {
34 if [ -d tools ];then
35 oe_runmake -C tools/gnulib/lib
36 fi
37}
38
39do_install_append() {
40 mkdir -p ${D}${datadir}/${tex_texinfo}
41 install -p -m644 ${S}/doc/texinfo.tex ${S}/doc/txi-??.tex ${D}${datadir}/${tex_texinfo}
42 sed -i -e '1s,#!.*perl,#! ${USRBINPATH}/env perl,' ${D}${bindir}/texi2any ${D}${bindir}/pod2texi
43}
44
45do_install_append_class-native() {
46 install -m 755 info/makedoc ${D}${bindir}
47}
48
49PACKAGES += "info info-doc"
50
51FILES_info = "${bindir}/info ${bindir}/infokey ${bindir}/install-info"
52FILES_info-doc = "${infodir}/info.info ${infodir}/dir ${infodir}/info-*.info \
53 ${mandir}/man1/info.1* ${mandir}/man5/info.5* \
54 ${mandir}/man1/infokey.1* ${mandir}/man1/install-info.1*"
55
56FILES_${PN} = "${bindir}/makeinfo ${bindir}/texi* ${bindir}/pdftexi2dvi ${bindir}/pod2texi ${datadir}/texinfo"
57RDEPENDS_${PN} = "perl"
58FILES_${PN}-doc = "${infodir}/texinfo* \
59 ${datadir}/${tex_texinfo} \
60 ${mandir}/man1 ${mandir}/man5"
61
62BBCLASSEXTEND = "native"