blob: 5cb9a4c57be076e752970daa58a83cfb95b1375c [file] [log] [blame]
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05001SUMMARY = "A shell-script tool for converting XML files to various formats"
Andrew Geissler90fd73c2021-03-05 15:25:55 -06002HOMEPAGE = "https://pagure.io/xmlto"
3DESCRIPTION = "Utility xmlto is a simple shell-script tool for converting XML files to various formats. It serves as easy to use command line frontend to make fine output without remembering many long options and searching for the syntax of the backends."
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05004SECTION = "docs/xmlto"
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00005LICENSE = "GPL-2.0-only"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05006
7LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
8
Brad Bishop37a0e4d2017-12-04 01:01:44 -05009SRC_URI = "https://releases.pagure.org/xmlto/xmlto-${PV}.tar.gz \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050010 file://configure.in-drop-the-test-of-xmllint-and-xsltproc.patch \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050011"
12SRC_URI[md5sum] = "a1fefad9d83499a15576768f60f847c6"
13SRC_URI[sha256sum] = "2f986b7c9a0e9ac6728147668e776d405465284e13c74d4146c9cbc51fd8aad3"
14
15inherit autotools
16
Andrew Geissler82c905d2020-04-13 13:39:40 -050017CLEANBROKEN = "1"
18
Brad Bishop19323692019-04-05 15:28:33 -040019DEPENDS = "libxml2-native"
20
Patrick Williams213cb262021-08-07 19:21:33 -050021RDEPENDS:${PN} = "docbook-xml-dtd4 \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050022 docbook-xsl-stylesheets \
23 util-linux \
24 libxml2 \
Brad Bishop19323692019-04-05 15:28:33 -040025 libxslt \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050026 bash \
27"
Patrick Williams213cb262021-08-07 19:21:33 -050028RDEPENDS:${PN}:append:class-target = " \
Brad Bishop19323692019-04-05 15:28:33 -040029 libxml2-utils \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050030 libxslt-bin \
Patrick Williamsc0f7c042017-02-23 20:41:17 -060031 coreutils \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050032"
Andrew Geissler9b4d8b02021-02-19 12:26:16 -060033CACHED_CONFIGUREVARS += "ac_cv_path_TAIL=tail ac_cv_path_GREP=grep"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050034
35BBCLASSEXTEND = "native"
36
Patrick Williams213cb262021-08-07 19:21:33 -050037EXTRA_OECONF:append = " BASH=/bin/bash GCP=/bin/cp XMLLINT=xmllint XSLTPROC=xsltproc"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050038
Patrick Williams213cb262021-08-07 19:21:33 -050039do_install:append:class-native() {
Brad Bishop19323692019-04-05 15:28:33 -040040 create_wrapper ${D}${bindir}/xmlto XML_CATALOG_FILES=${sysconfdir}/xml/catalog
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050041}
42
43do_populate_sysroot[rdeptask] = "do_populate_sysroot"