summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-3.1-native.bb
diff options
context:
space:
mode:
authorScott Garman <scott.a.garman@intel.com>2011-01-25 15:05:45 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-01 23:59:35 +0000
commitb2abf1c534bc34d4d4932323aeefa025a82e62c5 (patch)
tree96a8849d38199ed7b7c6e300b5ce903f6f3995d8 /meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-3.1-native.bb
parentb8bb770e96d4c3296f8b2da497675b067145ddf6 (diff)
downloadpoky-b2abf1c534bc34d4d4932323aeefa025a82e62c5.tar.gz
docbook-sgml-dtd: new recipes - v3.1, v4.1, v4.5
These are recipes for DTDs commonly used when generating documentation for free software. Recipes dervied from the versions in OpenEmbedded. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Diffstat (limited to 'meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-3.1-native.bb')
-rw-r--r--meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-3.1-native.bb23
1 files changed, 23 insertions, 0 deletions
diff --git a/meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-3.1-native.bb b/meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-3.1-native.bb
new file mode 100644
index 0000000000..a7df4f9761
--- /dev/null
+++ b/meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-3.1-native.bb
@@ -0,0 +1,23 @@
1require docbook-sgml-dtd-native.inc
2
3LICENSE = "OASIS"
4LIC_FILES_CHKSUM = "file://LICENSE-OASIS;md5=c608985dd5f7f215e669e7639a0b1d2e"
5
6DTD_VERSION = "3.1"
7
8PR = "${INC_PR}.0"
9
10# Note: the upstream sources are not distributed with a license file.
11# LICENSE-OASIS is included as a "patch" to workaround this. When
12# upgrading this recipe, please verify whether this is still needed.
13SRC_URI = "http://www.docbook.org/sgml/3.1/docbk31.zip \
14 file://LICENSE-OASIS"
15
16SRC_URI[md5sum] = "432749c0c806dbae81c8bcb70da3b5d3"
17SRC_URI[sha256sum] = "20261d2771b9a052abfa3d8fab1aa62be05791a010281c566f9073bf0e644538"
18
19do_compile() {
20 # Refer to http://www.linuxfromscratch.org/blfs/view/stable/pst/sgml-dtd-3.html
21 # for details.
22 sed -i -e '/ISO 8879/d' -e 's|DTDDECL "-//OASIS//DTD DocBook V3.1//EN"|SGMLDECL|g' docbook.cat
23}