summaryrefslogtreecommitdiff
path: root/packages/docbook-sgml-dtd/docbook-sgml-dtd-3.1-native.bb
blob: 4b0e4629b89d506abab5fe00ca009d43697badbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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
}