mirror of
https://git.yoctoproject.org/poky
synced 2026-04-25 06:32:12 +02:00
* The SRC_URI is not accessible. So need to add mirror site referred by the original site. * The problem is that http://download.savannah.gnu.org/releases redirects to closest mirror and few mirrors (e.g. .jp) weren't working correctly while http://download-mirror.savannah.gnu.org/releases/ seems to be reliable. * Add SAVANNAH_GNU_MIRROR and SAVANNAH_NONGNU_MIRROR variable in bitbake.conf. * Change the SRC_URI using the new variable. (From OE-Core rev: af00b6544f60e4d7581f9d9767f9d3f574392359) Signed-off-by: Changhyeok Bae <changhyeok.bae@lge.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
34 lines
879 B
BlitzBasic
34 lines
879 B
BlitzBasic
SUMMARY = "Perl script that converts Texinfo to HTML"
|
|
HOMEPAGE = "http://www.nongnu.org/texi2html/"
|
|
SECTION = "console/utils"
|
|
LICENSE = "GPLv2"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
|
|
|
|
PR = "r2"
|
|
|
|
SRC_URI = "${SAVANNAH_GNU_MIRROR}/texi2html/${BPN}-${PV}.tar.bz2 \
|
|
file://fix_gettext_version.patch"
|
|
|
|
SRC_URI[md5sum] = "f15ac876fcdc8be865b16535f480aa54"
|
|
SRC_URI[sha256sum] = "e8a98b0ee20c495a6ab894398a065ef580272dbd5a15b1b19e8bd1bc89d9f9fa"
|
|
|
|
inherit autotools gettext texinfo
|
|
|
|
do_configure_prepend() {
|
|
# Make a directory for the old gettext setup
|
|
if [ ! -d ${S}/po ]; then
|
|
mkdir ${S}/po
|
|
fi
|
|
}
|
|
|
|
do_configure_append() {
|
|
# Clean up the phony po directory
|
|
rm -rf ${S}/po
|
|
}
|
|
|
|
do_install_append () {
|
|
sed -i -e '1s,#!.*perl,#! ${USRBINPATH}/env perl,' ${D}${bindir}/texi2html
|
|
}
|
|
|
|
FILES_${PN}-doc += "${datadir}/texinfo"
|