diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
commit | 972dcfcdbfe75dcfeb777150c136576cf1a71e99 (patch) | |
tree | 97a61cd7e293d7ae9d56ef7ed0f81253365bb026 /meta/recipes-extended/texi2html/texi2html_5.0.bb | |
download | poky-972dcfcdbfe75dcfeb777150c136576cf1a71e99.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/recipes-extended/texi2html/texi2html_5.0.bb')
-rw-r--r-- | meta/recipes-extended/texi2html/texi2html_5.0.bb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-extended/texi2html/texi2html_5.0.bb b/meta/recipes-extended/texi2html/texi2html_5.0.bb new file mode 100644 index 0000000000..aa5f1fddaf --- /dev/null +++ b/meta/recipes-extended/texi2html/texi2html_5.0.bb | |||
@@ -0,0 +1,33 @@ | |||
1 | SUMMARY = "Perl script that converts Texinfo to HTML" | ||
2 | HOMEPAGE = "http://www.nongnu.org/texi2html/" | ||
3 | SECTION = "console/utils" | ||
4 | LICENSE = "GPLv2" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" | ||
6 | |||
7 | PR = "r2" | ||
8 | |||
9 | SRC_URI = "${SAVANNAH_GNU_MIRROR}/texi2html/${BPN}-${PV}.tar.bz2 \ | ||
10 | file://fix_gettext_version.patch" | ||
11 | |||
12 | SRC_URI[md5sum] = "f15ac876fcdc8be865b16535f480aa54" | ||
13 | SRC_URI[sha256sum] = "e8a98b0ee20c495a6ab894398a065ef580272dbd5a15b1b19e8bd1bc89d9f9fa" | ||
14 | |||
15 | inherit autotools gettext texinfo | ||
16 | |||
17 | do_configure_prepend() { | ||
18 | # Make a directory for the old gettext setup | ||
19 | if [ ! -d ${S}/po ]; then | ||
20 | mkdir ${S}/po | ||
21 | fi | ||
22 | } | ||
23 | |||
24 | do_configure_append() { | ||
25 | # Clean up the phony po directory | ||
26 | rm -rf ${S}/po | ||
27 | } | ||
28 | |||
29 | do_install_append () { | ||
30 | sed -i -e '1s,#!.*perl,#! ${USRBINPATH}/env perl,' ${D}${bindir}/texi2html | ||
31 | } | ||
32 | |||
33 | FILES_${PN}-doc += "${datadir}/texinfo" | ||