diff options
author | Paul Sokolovsky <pmiscml@gmail.com> | 2007-12-31 16:05:19 +0000 |
---|---|---|
committer | Paul Sokolovsky <pmiscml@gmail.com> | 2007-12-31 16:05:19 +0000 |
commit | c5ce5d13067f1b2a4e86bc0b9c01c485170be5e2 (patch) | |
tree | e2b7e148fa67224fb71a5c33a6ba1e5c8658ba03 /packages/docbook-sgml-dtd/docbook-sgml-dtd-native_3.1.bb | |
parent | a23d5bfd390b32cd85f03ceb9f8ee9b05deb0168 (diff) | |
parent | 6d4672f1bd5646f20d5c1522bda48c9534f27e48 (diff) |
merge of 'b1eb3466dafc9eb0908b3c6a5749e44c83d43bb7'
and 'b6f7470fdaebd8e390033a44122a002d406951ab'
Diffstat (limited to 'packages/docbook-sgml-dtd/docbook-sgml-dtd-native_3.1.bb')
-rw-r--r-- | packages/docbook-sgml-dtd/docbook-sgml-dtd-native_3.1.bb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/packages/docbook-sgml-dtd/docbook-sgml-dtd-native_3.1.bb b/packages/docbook-sgml-dtd/docbook-sgml-dtd-native_3.1.bb new file mode 100644 index 0000000000..926c311fd5 --- /dev/null +++ b/packages/docbook-sgml-dtd/docbook-sgml-dtd-native_3.1.bb @@ -0,0 +1,29 @@ +DESCRIPTION = "Document type definitions for verification of SGML data files against the DocBook rule set" + +DEPENDS = "sgml-common-native" + +SRC_URI = "http://www.docbook.org/sgml/${PV}/docbk31.zip" + +S = "${WORKDIR}" + +inherit native + +do_compile() { + sed -i -e '/ISO 8879/d' -e 's|DTDDECL "-//OASIS//DTD DocBook V3.1//EN"|SGMLDECL|g' docbook.cat +} + +do_stage () { + # Refer to http://www.linuxfromscratch.org/blfs/view/stable/pst/sgml-dtd-3.html + # for details. + install -d -m 755 ${STAGING_DATADIR}/sgml/docbook/sgml-dtd-${PV} + install docbook.cat ${STAGING_DATADIR}/sgml/docbook/sgml-dtd-${PV}/catalog + cp -dpr *.dtd *.mod *.dcl ${STAGING_DATADIR}/sgml/docbook/sgml-dtd-${PV} + + install-catalog --add ${sysconfdir}/sgml/sgml-docbook-dtd-${PV}.cat \ + ${STAGING_DATADIR}/sgml/docbook/sgml-dtd-${PV}/catalog + + install-catalog --add ${sysconfdir}/sgml/sgml-docbook-dtd-${PV}.cat \ + ${sysconfdir}/sgml/sgml-docbook.cat +} + +PACKAGES = "" |