blob: be59680770730e7d876af0d9595ecb915961023b [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001require docbook-sgml-dtd-native.inc
2
3LICENSE = "OASIS"
4LIC_FILES_CHKSUM = "file://LICENSE-OASIS;md5=c608985dd5f7f215e669e7639a0b1d2e"
5
6DTD_VERSION = "4.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://docbook.org/sgml/4.1/docbk41.zip \
14 file://LICENSE-OASIS"
15
16SRC_URI[md5sum] = "489f6ff2a2173eb1e14216c10533ede2"
17SRC_URI[sha256sum] = "deaafcf0a3677692e7ad4412c0e41c1db3e9da6cdcdb3dd32b2cc1f9c97d6311"
18
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050019UPSTREAM_CHECK_URI = "http://www.docbook.org/sgml/"
20UPSTREAM_CHECK_REGEX = "(?P<pver>4\.1(\.\d+)*)/"
21
Patrick Williamsc124f4f2015-09-15 14:41:29 -050022do_compile() {
23 # Refer to http://www.linuxfromscratch.org/blfs/view/stable/pst/sgml-dtd.html
24 # for details.
25 sed -i -e '/ISO 8879/d' -e '/gml/d' docbook.cat
26}