diff options
Diffstat (limited to 'recipes/docbook-sgml-dtd')
-rw-r--r-- | recipes/docbook-sgml-dtd/docbook-sgml-dtd-3.1-native.bb | 15 | ||||
-rw-r--r-- | recipes/docbook-sgml-dtd/docbook-sgml-dtd-4.1-native.bb | 15 |
2 files changed, 30 insertions, 0 deletions
diff --git a/recipes/docbook-sgml-dtd/docbook-sgml-dtd-3.1-native.bb b/recipes/docbook-sgml-dtd/docbook-sgml-dtd-3.1-native.bb new file mode 100644 index 0000000000..939fd53ded --- /dev/null +++ b/recipes/docbook-sgml-dtd/docbook-sgml-dtd-3.1-native.bb @@ -0,0 +1,15 @@ +require docbook-sgml-dtd-native.inc + +DTD_VERSION = "3.1" + +SRC_URI = "http://www.docbook.org/sgml/3.1/docbk31.zip;md5sum=432749c0c806dbae81c8bcb70da3b5d3" + +do_compile() { + # Refer to http://www.linuxfromscratch.org/blfs/view/stable/pst/sgml-dtd-3.html + # for details. + sed -i -e '/ISO 8879/d' -e 's|DTDDECL "-//OASIS//DTD DocBook V3.1//EN"|SGMLDECL|g' docbook.cat +} + + +SRC_URI[md5sum] = "432749c0c806dbae81c8bcb70da3b5d3" +SRC_URI[sha256sum] = "20261d2771b9a052abfa3d8fab1aa62be05791a010281c566f9073bf0e644538" diff --git a/recipes/docbook-sgml-dtd/docbook-sgml-dtd-4.1-native.bb b/recipes/docbook-sgml-dtd/docbook-sgml-dtd-4.1-native.bb new file mode 100644 index 0000000000..2bc43e1972 --- /dev/null +++ b/recipes/docbook-sgml-dtd/docbook-sgml-dtd-4.1-native.bb @@ -0,0 +1,15 @@ +require docbook-sgml-dtd-native.inc + +DTD_VERSION = "4.1" + +SRC_URI = "http://docbook.org/sgml/4.1/docbk41.zip" + +do_compile() { + # Refer to http://www.linuxfromscratch.org/blfs/view/stable/pst/sgml-dtd.html + # for details. + sed -i -e '/ISO 8879/d' -e '/gml/d' docbook.cat +} + + +SRC_URI[md5sum] = "489f6ff2a2173eb1e14216c10533ede2" +SRC_URI[sha256sum] = "deaafcf0a3677692e7ad4412c0e41c1db3e9da6cdcdb3dd32b2cc1f9c97d6311" |