blob: 523bf33f42bd475171494de8f285f09501948e06 [file] [log] [blame]
Patrick Williamsc0f7c042017-02-23 20:41:17 -06001SUMMARY = "Tool for creating HTML, PDF, EPUB, man pages"
2DESCRIPTION = "AsciiDoc is a text document format for writing short documents, \
3articles, books and UNIX man pages."
4
5HOMEPAGE = "http://asciidoc.org/"
6
7LICENSE = "GPLv2"
Andrew Geissler5a43b432020-06-13 10:46:56 -05008LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=4e5d1baf6f20559e3bec172226a47e4e \
9 file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263 "
Patrick Williamsc0f7c042017-02-23 20:41:17 -060010
Andrew Geissler95ac1b82021-03-31 14:34:31 -050011SRC_URI = "git://github.com/asciidoc/asciidoc-py3;protocol=https;branch=9.x"
12SRCREV = "9705d428439530104ce55d0ba12e8ef9d1b57ad1"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060013
Brad Bishop19323692019-04-05 15:28:33 -040014DEPENDS = "libxml2-native libxslt-native docbook-xml-dtd4-native docbook-xsl-stylesheets-native"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060015
Brad Bishop19323692019-04-05 15:28:33 -040016S = "${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
20export SGML_CATALOG_FILES="file://${STAGING_ETCDIR_NATIVE}/xml/catalog"
21
22# Not using automake
Brad Bishopd7bf8c12018-02-25 22:55:05 -050023inherit autotools-brokensep
Patrick Williamsc0f7c042017-02-23 20:41:17 -060024CLEANBROKEN = "1"
Brad Bishop19323692019-04-05 15:28:33 -040025
26# target and nativesdk needs python3, but for native we can use the host.
27RDEPENDS_${PN} += "python3"
28RDEPENDS_remove_class-native = "python3"
29
30BBCLASSEXTEND = "native nativesdk"
Andrew Geissler9b4d8b02021-02-19 12:26:16 -060031
32UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))$"