blob: bb4248a5e5bfbdcf46d4792a6e7fb02f0e2e1874 [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 Geissler90fd73c2021-03-05 15:25:55 -060011SRC_URI = "git://github.com/asciidoc/asciidoc-py3;protocol=https;branch=main \
Brad Bishop19323692019-04-05 15:28:33 -040012 file://auto-catalogs.patch"
Andrew Geissler6ce62a22020-11-30 19:58:47 -060013SRCREV = "8de61a75572b5b8f90c1f87634aa3767472be7a7"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060014
Brad Bishop19323692019-04-05 15:28:33 -040015DEPENDS = "libxml2-native libxslt-native docbook-xml-dtd4-native docbook-xsl-stylesheets-native"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060016
Brad Bishop19323692019-04-05 15:28:33 -040017S = "${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
21export SGML_CATALOG_FILES="file://${STAGING_ETCDIR_NATIVE}/xml/catalog"
22
23# Not using automake
Brad Bishopd7bf8c12018-02-25 22:55:05 -050024inherit autotools-brokensep
Patrick Williamsc0f7c042017-02-23 20:41:17 -060025CLEANBROKEN = "1"
Brad Bishop19323692019-04-05 15:28:33 -040026
27# target and nativesdk needs python3, but for native we can use the host.
28RDEPENDS_${PN} += "python3"
29RDEPENDS_remove_class-native = "python3"
30
31BBCLASSEXTEND = "native nativesdk"
Andrew Geissler9b4d8b02021-02-19 12:26:16 -060032
33UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))$"