diff options
author | Scott Garman <scott.a.garman@intel.com> | 2011-02-24 15:57:32 -0800 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2011-02-25 08:46:59 -0800 |
commit | d7d53a500c7d18c9d6362261ad1351a6810098f1 (patch) | |
tree | af8649aae34065c2f6c8465244a90a6462475ec4 /meta/recipes-devtools/linuxdoc-tools | |
parent | fa1e7d52b29433ac7a472e5e2a87990e21e25665 (diff) | |
download | poky-d7d53a500c7d18c9d6362261ad1351a6810098f1.tar.gz |
linuxdoc-tools-native: new recipe v0.99.6
This package includes utilities such as sgml2html and sgml2txt,
which are used by other packages (e.g, libuser) for building
documentation.
Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Diffstat (limited to 'meta/recipes-devtools/linuxdoc-tools')
-rw-r--r-- | meta/recipes-devtools/linuxdoc-tools/linuxdoc-tools-native/disable_sgml2rtf.patch | 49 | ||||
-rw-r--r-- | meta/recipes-devtools/linuxdoc-tools/linuxdoc-tools-native_0.9.66.bb | 21 |
2 files changed, 70 insertions, 0 deletions
diff --git a/meta/recipes-devtools/linuxdoc-tools/linuxdoc-tools-native/disable_sgml2rtf.patch b/meta/recipes-devtools/linuxdoc-tools/linuxdoc-tools-native/disable_sgml2rtf.patch new file mode 100644 index 0000000000..0fcacebf2b --- /dev/null +++ b/meta/recipes-devtools/linuxdoc-tools/linuxdoc-tools-native/disable_sgml2rtf.patch | |||
@@ -0,0 +1,49 @@ | |||
1 | The build of sgml2rtf is problematic due to the way it wants to | ||
2 | link to a shared library version of flex. Flex only ships with a | ||
3 | static lib. Rather than diverging from upstream flex, simply skip | ||
4 | building this un-needed utility. | ||
5 | |||
6 | Signed-off-by: Scott Garman <scott.a.garman@intel.com> | ||
7 | diff -urN linuxdoc-tools-0.9.66.orig//Makefile.in linuxdoc-tools-0.9.66/Makefile.in | ||
8 | --- linuxdoc-tools-0.9.66.orig//Makefile.in 2009-11-09 11:58:25.000000000 -0800 | ||
9 | +++ linuxdoc-tools-0.9.66/Makefile.in 2011-02-24 15:37:46.556937051 -0800 | ||
10 | @@ -40,7 +40,7 @@ | ||
11 | pkgdata_ddir = $(DESTDIR)$(pkgdatadir) | ||
12 | tex_ddir = $(DESTDIR)$(texdir) | ||
13 | |||
14 | -progs := sgml2html sgml2info sgml2latex sgml2lyx sgml2rtf sgml2txt sgmlcheck | ||
15 | +progs := sgml2html sgml2info sgml2latex sgml2lyx sgml2txt sgmlcheck | ||
16 | |||
17 | OPTIMIZE = -O | ||
18 | |||
19 | @@ -64,9 +64,9 @@ | ||
20 | @echo "Compiling preprocessor (in sgmlpre/)..." | ||
21 | ( cd sgmlpre ; \ | ||
22 | $(MAKE) CFLAGS="$(OPTIMIZE)" LEX=flex sgmlpre || exit -1 ) | ||
23 | - @echo "Compiling RTF conversion tools (in rtf-fix/)..." | ||
24 | - ( cd rtf-fix ; \ | ||
25 | - $(MAKE) CFLAGS="$(OPTIMIZE)" || exit -1 ) | ||
26 | +# @echo "Compiling RTF conversion tools (in rtf-fix/)..." | ||
27 | +# ( cd rtf-fix ; \ | ||
28 | +# $(MAKE) CFLAGS="$(OPTIMIZE)" || exit -1 ) | ||
29 | @echo "making man pages in genman ..." | ||
30 | if [ ! -d genman ]; then mkdir genman ; fi | ||
31 | for ii in man/* ; do \ | ||
32 | @@ -109,7 +109,7 @@ | ||
33 | |||
34 | # -- Install auxiliary programs | ||
35 | mkdir -p $(auxbin_ddir) | ||
36 | - for ii in sgmlpre/sgmlpre rtf-fix/rtf2rtf; do \ | ||
37 | + for ii in sgmlpre/sgmlpre; do \ | ||
38 | bn=`basename $$ii`; \ | ||
39 | $(INSTALL_PROGRAM) $$ii $(auxbin_ddir)/$$bn; \ | ||
40 | done | ||
41 | @@ -198,7 +198,7 @@ | ||
42 | |||
43 | clean:: | ||
44 | -rm -f *~ bin/*~ bin/linuxdoc | ||
45 | - for d in $(DDIRS) $(MDIRS) rtf-fix; do $(MAKE) -C $$d clean; done | ||
46 | + for d in $(DDIRS) $(MDIRS); do $(MAKE) -C $$d clean; done | ||
47 | (cd sgmlpre ; rm -f sgmlpre.o sgmlpre) | ||
48 | -rm -rf genman/ | ||
49 | |||
diff --git a/meta/recipes-devtools/linuxdoc-tools/linuxdoc-tools-native_0.9.66.bb b/meta/recipes-devtools/linuxdoc-tools/linuxdoc-tools-native_0.9.66.bb new file mode 100644 index 0000000000..f3cd19571b --- /dev/null +++ b/meta/recipes-devtools/linuxdoc-tools/linuxdoc-tools-native_0.9.66.bb | |||
@@ -0,0 +1,21 @@ | |||
1 | SUMMARY = "Convert LinuxDoc SGML source into other formats" | ||
2 | DESCRIPTION = "Convert LinuxDoc SGML source into other formats" | ||
3 | HOMEPAGE = "http://packages.debian.org/linuxdoc-tools" | ||
4 | LICENSE = "GPLv3+" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=5fbccc46cff2379505ca4e09c7d6ccfe" | ||
6 | |||
7 | DEPENDS = "openjade-native" | ||
8 | |||
9 | PR = "r0" | ||
10 | |||
11 | SRC_URI = "${DEBIAN_MIRROR}/main/l/linuxdoc-tools/linuxdoc-tools_${PV}.tar.gz \ | ||
12 | file://disable_sgml2rtf.patch" | ||
13 | |||
14 | SRC_URI[md5sum] = "f214e79b0dd084689cd04f18722bd563" | ||
15 | SRC_URI[sha256sum] = "128cabb52ef8fb2f370ee488ea92bf4d8e49859200c7c8cae807abfe860a62ec" | ||
16 | |||
17 | inherit autotools native | ||
18 | |||
19 | do_configure () { | ||
20 | oe_runconf | ||
21 | } | ||