diff options
Diffstat (limited to 'meta/recipes-extended/texinfo/texinfo_5.2.bb')
-rw-r--r-- | meta/recipes-extended/texinfo/texinfo_5.2.bb | 62 |
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 @@ | |||
1 | SUMMARY = "Documentation system for on-line information and printed output" | ||
2 | DESCRIPTION = "Texinfo is a documentation system that can produce both \ | ||
3 | online information and printed output from a single source file. The \ | ||
4 | GNU Project uses the Texinfo file format for most of its documentation." | ||
5 | HOMEPAGE = "http://www.gnu.org/software/texinfo/" | ||
6 | SECTION = "console/utils" | ||
7 | LICENSE = "GPLv3+" | ||
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | ||
9 | |||
10 | DEPENDS = "zlib ncurses texinfo-native" | ||
11 | DEPENDS_class-native = "zlib-native ncurses-native" | ||
12 | |||
13 | TARGET_PATCH = "file://use_host_makedoc.patch" | ||
14 | TARGET_PATCH_class-native = "" | ||
15 | |||
16 | SRC_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 | |||
25 | SRC_URI[md5sum] = "1b8f98b80a8e6c50422125e07522e8db" | ||
26 | SRC_URI[sha256sum] = "6b8ca30e9b6f093b54fe04439e5545e564c63698a806a48065c0bba16994cf74" | ||
27 | |||
28 | S = "${WORKDIR}/${BP}" | ||
29 | tex_texinfo = "texmf/tex/texinfo" | ||
30 | |||
31 | inherit gettext autotools | ||
32 | |||
33 | do_compile_prepend() { | ||
34 | if [ -d tools ];then | ||
35 | oe_runmake -C tools/gnulib/lib | ||
36 | fi | ||
37 | } | ||
38 | |||
39 | do_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 | |||
45 | do_install_append_class-native() { | ||
46 | install -m 755 info/makedoc ${D}${bindir} | ||
47 | } | ||
48 | |||
49 | PACKAGES += "info info-doc" | ||
50 | |||
51 | FILES_info = "${bindir}/info ${bindir}/infokey ${bindir}/install-info" | ||
52 | FILES_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 | |||
56 | FILES_${PN} = "${bindir}/makeinfo ${bindir}/texi* ${bindir}/pdftexi2dvi ${bindir}/pod2texi ${datadir}/texinfo" | ||
57 | RDEPENDS_${PN} = "perl" | ||
58 | FILES_${PN}-doc = "${infodir}/texinfo* \ | ||
59 | ${datadir}/${tex_texinfo} \ | ||
60 | ${mandir}/man1 ${mandir}/man5" | ||
61 | |||
62 | BBCLASSEXTEND = "native" | ||