2011-02-08 02:43:41 +00:00
|
|
|
SUMMARY = "Documentation system for on-line information and printed output"
|
|
|
|
DESCRIPTION = "Texinfo is a documentation system that can produce both \
|
|
|
|
online information and printed output from a single source file. The \
|
|
|
|
GNU Project uses the Texinfo file format for most of its documentation."
|
2010-09-25 07:04:47 +00:00
|
|
|
HOMEPAGE = "http://www.gnu.org/software/texinfo/"
|
2011-02-08 02:43:41 +00:00
|
|
|
SECTION = "console/utils"
|
|
|
|
LICENSE = "GPLv3+"
|
2010-09-25 07:04:47 +00:00
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=adefda309052235aa5d1e99ce7557010"
|
2013-02-11 04:00:48 +00:00
|
|
|
PR = "r6"
|
2010-09-25 07:04:47 +00:00
|
|
|
|
2011-09-16 22:35:48 +00:00
|
|
|
DEPENDS = "zlib ncurses texinfo-native"
|
2012-10-27 08:48:17 +00:00
|
|
|
DEPENDS_class-native = "zlib-native ncurses-native"
|
2010-09-25 07:04:47 +00:00
|
|
|
|
2011-12-10 20:22:38 +00:00
|
|
|
TARGET_PATCH = "file://use_host_makedoc.patch"
|
2012-10-27 08:48:17 +00:00
|
|
|
TARGET_PATCH_class-native = ""
|
2011-12-10 20:22:38 +00:00
|
|
|
|
2011-02-08 02:43:41 +00:00
|
|
|
SRC_URI = "${GNU_MIRROR}/texinfo/texinfo-${PV}.tar.gz \
|
2011-09-16 22:35:48 +00:00
|
|
|
file://texinfo-4.12-zlib.patch \
|
|
|
|
file://texinfo-4.13a-data_types.patch \
|
|
|
|
file://texinfo-4.13a-mosdo-crash.patch \
|
|
|
|
file://texinfo-4.13a-powerpc.patch \
|
|
|
|
file://texinfo-4.13a-help-index-segfault.patch \
|
|
|
|
file://disable-native-tools.patch \
|
|
|
|
file://link-zip.patch \
|
2011-12-10 20:22:38 +00:00
|
|
|
file://gettext-macros.patch \
|
2012-05-03 16:19:08 +00:00
|
|
|
file://texinfo_fix_for_automake-1.12.patch \
|
2013-02-11 04:00:48 +00:00
|
|
|
file://dont-depend-on-help2man.patch \
|
2011-12-10 20:22:38 +00:00
|
|
|
${TARGET_PATCH}"
|
2010-09-25 07:04:47 +00:00
|
|
|
|
2011-02-08 02:43:41 +00:00
|
|
|
SRC_URI[md5sum] = "71ba711519209b5fb583fed2b3d86fcb"
|
|
|
|
SRC_URI[sha256sum] = "1303e91a1c752b69a32666a407e9fbdd6e936def4b09bc7de30f416301530d68"
|
2010-09-25 07:04:47 +00:00
|
|
|
|
2012-02-26 21:53:02 +00:00
|
|
|
S = "${WORKDIR}/texinfo-4.13"
|
2010-09-25 07:04:47 +00:00
|
|
|
tex_texinfo = "texmf/tex/texinfo"
|
|
|
|
|
2011-02-08 02:43:41 +00:00
|
|
|
inherit gettext autotools
|
|
|
|
|
2011-09-16 22:35:48 +00:00
|
|
|
do_compile_prepend() {
|
2010-09-25 07:04:47 +00:00
|
|
|
if [ -d tools ];then
|
2011-09-16 22:35:48 +00:00
|
|
|
oe_runmake -C tools/gnulib/lib
|
2010-09-25 07:04:47 +00:00
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install_append() {
|
|
|
|
mkdir -p ${D}${datadir}/${tex_texinfo}
|
|
|
|
install -p -m644 doc/texinfo.tex doc/txi-??.tex ${D}${datadir}/${tex_texinfo}
|
|
|
|
}
|
2012-10-27 08:48:17 +00:00
|
|
|
do_install_append_class-native() {
|
2011-12-10 20:22:38 +00:00
|
|
|
install -m 755 info/makedoc ${D}${bindir}
|
|
|
|
}
|
2010-09-25 07:04:47 +00:00
|
|
|
|
2011-06-20 18:21:25 +00:00
|
|
|
PACKAGES += "info info-doc"
|
2010-09-25 07:04:47 +00:00
|
|
|
|
|
|
|
FILES_info = "${bindir}/info ${bindir}/infokey ${bindir}/install-info"
|
|
|
|
FILES_info-doc = "${infodir}/info.info ${infodir}/dir ${infodir}/info-*.info \
|
|
|
|
${mandir}/man1/info.1* ${mandir}/man5/info.5* \
|
|
|
|
${mandir}/man1/infokey.1* ${mandir}/man1/install-info.1*"
|
|
|
|
|
|
|
|
FILES_${PN} = "${bindir}/makeinfo ${bindir}/texi* ${bindir}/pdftexi2dvi"
|
|
|
|
FILES_${PN}-doc = "${datadir}/texinfo ${infodir}/texinfo* \
|
|
|
|
${datadir}/${tex_texinfo} \
|
|
|
|
${mandir}/man1/makeinfo.1* ${mandir}/man5/texinfo.5* \
|
|
|
|
${mandir}/man1/texindex.1* ${mandir}/man1/texi2dvi.1* \
|
|
|
|
${mandir}/man1/texi2pdf.1* ${mandir}/man1/pdftexi2dvi.1*"
|
2011-02-08 02:43:41 +00:00
|
|
|
|
|
|
|
BBCLASSEXTEND = "native"
|