diff options
author | Tudor Florea <tudor.florea@enea.com> | 2014-10-16 03:05:19 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-16 03:05:19 +0200 |
commit | c527fd1f14c27855a37f2e8ac5346ce8d940ced2 (patch) | |
tree | bb002c1fdf011c41dbd2f0927bed23ecb5f83c97 /meta/recipes-extended/texi2html | |
download | poky-c527fd1f14c27855a37f2e8ac5346ce8d940ced2.tar.gz |
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/recipes-extended/texi2html')
-rw-r--r-- | meta/recipes-extended/texi2html/texi2html-5.0/fix_gettext_version.patch | 31 | ||||
-rw-r--r-- | meta/recipes-extended/texi2html/texi2html_5.0.bb | 33 |
2 files changed, 64 insertions, 0 deletions
diff --git a/meta/recipes-extended/texi2html/texi2html-5.0/fix_gettext_version.patch b/meta/recipes-extended/texi2html/texi2html-5.0/fix_gettext_version.patch new file mode 100644 index 0000000000..d1c9fe5746 --- /dev/null +++ b/meta/recipes-extended/texi2html/texi2html-5.0/fix_gettext_version.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | |||
2 | Upstream-Status: Inappropriate [configuration] | ||
3 | |||
4 | Signed-off-by: Saul Wold <sgw@linux.intel.com> | ||
5 | |||
6 | Index: texi2html-5.0/po_document/Makefile.in.in | ||
7 | =================================================================== | ||
8 | --- texi2html-5.0.orig/po_document/Makefile.in.in | ||
9 | +++ texi2html-5.0/po_document/Makefile.in.in | ||
10 | @@ -9,7 +9,7 @@ | ||
11 | # General Public License and is *not* in the public domain. | ||
12 | # | ||
13 | # Origin: gettext-0.17 | ||
14 | -GETTEXT_MACRO_VERSION = 0.17 | ||
15 | +GETTEXT_MACRO_VERSION = 0.18 | ||
16 | |||
17 | PACKAGE = @PACKAGE@ | ||
18 | VERSION = @VERSION@ | ||
19 | Index: texi2html-5.0/po_messages/Makefile.in.in | ||
20 | =================================================================== | ||
21 | --- texi2html-5.0.orig/po_messages/Makefile.in.in | ||
22 | +++ texi2html-5.0/po_messages/Makefile.in.in | ||
23 | @@ -9,7 +9,7 @@ | ||
24 | # General Public License and is *not* in the public domain. | ||
25 | # | ||
26 | # Origin: gettext-0.17 | ||
27 | -GETTEXT_MACRO_VERSION = 0.17 | ||
28 | +GETTEXT_MACRO_VERSION = 0.18 | ||
29 | |||
30 | PACKAGE = @PACKAGE@ | ||
31 | VERSION = @VERSION@ | ||
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..a22b981a5d --- /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 = "http://download.savannah.gnu.org/releases/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 | ||
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" | ||