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" |
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b \ |
| 9 | file://COPYRIGHT;md5=029ad5428ba5efa20176b396222d4069" |
| 10 | |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 11 | SRC_URI = "git://github.com/asciidoc/asciidoc-py3;protocol=https \ |
| 12 | file://auto-catalogs.patch" |
| 13 | SRCREV = "618f6e6f6b558ed1e5f2588cd60a5a6b4f881ca0" |
| 14 | PV .= "+py3-git${SRCPV}" |
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 | 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] | 17 | |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 18 | S = "${WORKDIR}/git" |
| 19 | |
| 20 | # Tell xmllint where to find the DocBook XML catalogue, because right now it |
| 21 | # opens /etc/xml/catalog on the host. Depends on auto-catalogs.patch |
| 22 | export SGML_CATALOG_FILES="file://${STAGING_ETCDIR_NATIVE}/xml/catalog" |
| 23 | |
| 24 | # Not using automake |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 25 | inherit autotools-brokensep |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 26 | CLEANBROKEN = "1" |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 27 | |
| 28 | # target and nativesdk needs python3, but for native we can use the host. |
| 29 | RDEPENDS_${PN} += "python3" |
| 30 | RDEPENDS_remove_class-native = "python3" |
| 31 | |
| 32 | BBCLASSEXTEND = "native nativesdk" |