summaryrefslogtreecommitdiff
path: root/packages/docbook-sgml-dtd
diff options
context:
space:
mode:
authorRobert Schuster <thebohemian@gmx.net>2007-12-31 11:50:13 +0000
committerRobert Schuster <thebohemian@gmx.net>2007-12-31 11:50:13 +0000
commit4875f9bd2c47f8cdc40c5fd70012e262f8be4934 (patch)
tree9ca93b2b8e7c1b6dd091490ad33119df0e4fe4f0 /packages/docbook-sgml-dtd
parent275f358d054ba5c4721cfe87edaec8202ee8095e (diff)
PR 3656
docbook-dsssl-stylesheets-native: New recipe. docbook-sgml-dtd-native: New recipe. docbook-utils-native 0.6.14: Added recipe for new version. docbook-utils 0.6.14: Added recipe for new version. openjade-native: Made functional from native staging location - fixed compilation error opensp-native: Made functional from native staging location. sgml-common-native 0.6.3: Made functional from native staging location. sgml-common 0.6.3: Added pkginstall and pkgpostinstall.
Diffstat (limited to 'packages/docbook-sgml-dtd')
-rw-r--r--packages/docbook-sgml-dtd/.mtn2git_empty0
-rw-r--r--packages/docbook-sgml-dtd/docbook-sgml-dtd-native_3.1.bb29
2 files changed, 29 insertions, 0 deletions
diff --git a/packages/docbook-sgml-dtd/.mtn2git_empty b/packages/docbook-sgml-dtd/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/docbook-sgml-dtd/.mtn2git_empty
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 = ""