2013-12-19 15:13:01 +00:00
|
|
|
SUMMARY = "Perl script that converts Texinfo to HTML"
|
2011-12-19 16:41:25 +00:00
|
|
|
HOMEPAGE = "http://www.nongnu.org/texi2html/"
|
|
|
|
SECTION = "console/utils"
|
|
|
|
LICENSE = "GPLv2"
|
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
|
|
|
|
|
2012-08-02 21:29:56 +00:00
|
|
|
PR = "r2"
|
2011-12-19 16:41:25 +00:00
|
|
|
|
2014-05-08 03:44:04 +00:00
|
|
|
SRC_URI = "${SAVANNAH_GNU_MIRROR}/texi2html/${BPN}-${PV}.tar.bz2 \
|
2011-12-19 16:41:25 +00:00
|
|
|
file://fix_gettext_version.patch"
|
|
|
|
|
|
|
|
SRC_URI[md5sum] = "f15ac876fcdc8be865b16535f480aa54"
|
|
|
|
SRC_URI[sha256sum] = "e8a98b0ee20c495a6ab894398a065ef580272dbd5a15b1b19e8bd1bc89d9f9fa"
|
|
|
|
|
2014-05-01 20:00:28 +00:00
|
|
|
inherit autotools gettext texinfo
|
2011-12-19 16:41:25 +00:00
|
|
|
|
|
|
|
do_configure_prepend() {
|
|
|
|
# Make a directory for the old gettext setup
|
2012-10-17 13:54:01 +00:00
|
|
|
if [ ! -d ${S}/po ]; then
|
|
|
|
mkdir ${S}/po
|
|
|
|
fi
|
2011-12-19 16:41:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
do_configure_append() {
|
|
|
|
# Clean up the phony po directory
|
|
|
|
rm -rf ${S}/po
|
|
|
|
}
|
2012-03-15 01:51:06 +00:00
|
|
|
|
2012-08-02 21:29:56 +00:00
|
|
|
do_install_append () {
|
|
|
|
sed -i -e '1s,#!.*perl,#! ${USRBINPATH}/env perl,' ${D}${bindir}/texi2html
|
|
|
|
}
|
|
|
|
|
2012-03-15 01:51:06 +00:00
|
|
|
FILES_${PN}-doc += "${datadir}/texinfo"
|