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 | |
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" |
Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 13 | SRCREV = "8de61a75572b5b8f90c1f87634aa3767472be7a7" |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 14 | |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 15 | 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] | 16 | |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 17 | S = "${WORKDIR}/git" |
| 18 | |
| 19 | # Tell xmllint where to find the DocBook XML catalogue, because right now it |
| 20 | # opens /etc/xml/catalog on the host. Depends on auto-catalogs.patch |
| 21 | export SGML_CATALOG_FILES="file://${STAGING_ETCDIR_NATIVE}/xml/catalog" |
| 22 | |
| 23 | # Not using automake |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 24 | inherit autotools-brokensep |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 25 | CLEANBROKEN = "1" |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 26 | |
| 27 | # target and nativesdk needs python3, but for native we can use the host. |
| 28 | RDEPENDS_${PN} += "python3" |
| 29 | RDEPENDS_remove_class-native = "python3" |
| 30 | |
| 31 | BBCLASSEXTEND = "native nativesdk" |