summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/texi2html
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2015-10-09 22:59:03 +0200
committerTudor Florea <tudor.florea@enea.com>2015-10-09 22:59:03 +0200
commit972dcfcdbfe75dcfeb777150c136576cf1a71e99 (patch)
tree97a61cd7e293d7ae9d56ef7ed0f81253365bb026 /meta/recipes-extended/texi2html
downloadpoky-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')
-rw-r--r--meta/recipes-extended/texi2html/texi2html-5.0/fix_gettext_version.patch31
-rw-r--r--meta/recipes-extended/texi2html/texi2html_5.0.bb33
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
2Upstream-Status: Inappropriate [configuration]
3
4Signed-off-by: Saul Wold <sgw@linux.intel.com>
5
6Index: 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@
19Index: 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..aa5f1fddaf
--- /dev/null
+++ b/meta/recipes-extended/texi2html/texi2html_5.0.bb
@@ -0,0 +1,33 @@
1SUMMARY = "Perl script that converts Texinfo to HTML"
2HOMEPAGE = "http://www.nongnu.org/texi2html/"
3SECTION = "console/utils"
4LICENSE = "GPLv2"
5LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
6
7PR = "r2"
8
9SRC_URI = "${SAVANNAH_GNU_MIRROR}/texi2html/${BPN}-${PV}.tar.bz2 \
10 file://fix_gettext_version.patch"
11
12SRC_URI[md5sum] = "f15ac876fcdc8be865b16535f480aa54"
13SRC_URI[sha256sum] = "e8a98b0ee20c495a6ab894398a065ef580272dbd5a15b1b19e8bd1bc89d9f9fa"
14
15inherit autotools gettext texinfo
16
17do_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
24do_configure_append() {
25 # Clean up the phony po directory
26 rm -rf ${S}/po
27}
28
29do_install_append () {
30 sed -i -e '1s,#!.*perl,#! ${USRBINPATH}/env perl,' ${D}${bindir}/texi2html
31}
32
33FILES_${PN}-doc += "${datadir}/texinfo"