Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | require docbook-sgml-dtd-native.inc |
| 2 | |
| 3 | LICENSE = "OASIS" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE-OASIS;md5=c608985dd5f7f215e669e7639a0b1d2e" |
| 5 | |
| 6 | DTD_VERSION = "3.1" |
| 7 | |
| 8 | PR = "${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. |
| 13 | SRC_URI = "http://www.docbook.org/sgml/3.1/docbk31.zip \ |
| 14 | file://LICENSE-OASIS" |
| 15 | |
| 16 | SRC_URI[md5sum] = "432749c0c806dbae81c8bcb70da3b5d3" |
| 17 | SRC_URI[sha256sum] = "20261d2771b9a052abfa3d8fab1aa62be05791a010281c566f9073bf0e644538" |
| 18 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame^] | 19 | UPSTREAM_CHECK_URI = "http://www.docbook.org/sgml/" |
| 20 | UPSTREAM_CHECK_REGEX = "(?P<pver>3\..+)/" |
| 21 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 22 | do_compile() { |
| 23 | # Refer to http://www.linuxfromscratch.org/blfs/view/stable/pst/sgml-dtd-3.html |
| 24 | # for details. |
| 25 | sed -i -e '/ISO 8879/d' -e 's|DTDDECL "-//OASIS//DTD DocBook V3.1//EN"|SGMLDECL|g' docbook.cat |
| 26 | } |