Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 1 | SUMMARY = "Tool for creating HTML, PDF, EPUB, man pages" |
| 2 | DESCRIPTION = "AsciiDoc is a text document format for writing short documents, \ |
| 3 | articles, books and UNIX man pages." |
| 4 | |
| 5 | HOMEPAGE = "http://asciidoc.org/" |
| 6 | |
| 7 | LICENSE = "GPLv2" |
Andrew Geissler | 5a43b43 | 2020-06-13 10:46:56 -0500 | [diff] [blame] | 8 | LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=4e5d1baf6f20559e3bec172226a47e4e \ |
| 9 | file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263 " |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 10 | |
Andrew Geissler | 95ac1b8 | 2021-03-31 14:34:31 -0500 | [diff] [blame] | 11 | SRC_URI = "git://github.com/asciidoc/asciidoc-py3;protocol=https;branch=9.x" |
| 12 | SRCREV = "9705d428439530104ce55d0ba12e8ef9d1b57ad1" |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 13 | |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 14 | DEPENDS = "libxml2-native libxslt-native docbook-xml-dtd4-native docbook-xsl-stylesheets-native" |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 15 | |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 16 | S = "${WORKDIR}/git" |
| 17 | |
| 18 | # Tell xmllint where to find the DocBook XML catalogue, because right now it |
| 19 | # opens /etc/xml/catalog on the host. Depends on auto-catalogs.patch |
| 20 | export SGML_CATALOG_FILES="file://${STAGING_ETCDIR_NATIVE}/xml/catalog" |
| 21 | |
| 22 | # Not using automake |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 23 | inherit autotools-brokensep |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 24 | CLEANBROKEN = "1" |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 25 | |
| 26 | # target and nativesdk needs python3, but for native we can use the host. |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 27 | RDEPENDS:${PN} += "python3" |
| 28 | RDEPENDS:remove:class-native = "python3" |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 29 | |
| 30 | BBCLASSEXTEND = "native nativesdk" |
Andrew Geissler | 9b4d8b0 | 2021-02-19 12:26:16 -0600 | [diff] [blame] | 31 | |
| 32 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))$" |