blob: 7d27c43c830bca2c4a32b1c98a7400e262c1fa93 [file] [log] [blame]
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05001SUMMARY = "A shell-script tool for converting XML files to various formats"
Brad Bishop37a0e4d2017-12-04 01:01:44 -05002HOMEPAGE = "https://releases.pagure.org/xmlto/"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05003SECTION = "docs/xmlto"
4LICENSE = "GPLv2"
5
6LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
7
Brad Bishop37a0e4d2017-12-04 01:01:44 -05008SRC_URI = "https://releases.pagure.org/xmlto/xmlto-${PV}.tar.gz \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05009 file://configure.in-drop-the-test-of-xmllint-and-xsltproc.patch \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050010"
11SRC_URI[md5sum] = "a1fefad9d83499a15576768f60f847c6"
12SRC_URI[sha256sum] = "2f986b7c9a0e9ac6728147668e776d405465284e13c74d4146c9cbc51fd8aad3"
13
14inherit autotools
15
Andrew Geissler82c905d2020-04-13 13:39:40 -050016CLEANBROKEN = "1"
17
Brad Bishop19323692019-04-05 15:28:33 -040018DEPENDS = "libxml2-native"
19
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050020RDEPENDS_${PN} = "docbook-xml-dtd4 \
21 docbook-xsl-stylesheets \
22 util-linux \
23 libxml2 \
Brad Bishop19323692019-04-05 15:28:33 -040024 libxslt \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050025 bash \
26"
27RDEPENDS_${PN}_append_class-target = " \
Brad Bishop19323692019-04-05 15:28:33 -040028 libxml2-utils \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050029 libxslt-bin \
Patrick Williamsc0f7c042017-02-23 20:41:17 -060030 coreutils \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050031"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050032CACHED_CONFIGUREVARS += "ac_cv_path_TAIL=tail"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050033
34BBCLASSEXTEND = "native"
35
36EXTRA_OECONF_append = " BASH=/bin/bash GCP=/bin/cp XMLLINT=xmllint XSLTPROC=xsltproc"
37
Brad Bishop19323692019-04-05 15:28:33 -040038do_install_append_class-native() {
39 create_wrapper ${D}${bindir}/xmlto XML_CATALOG_FILES=${sysconfdir}/xml/catalog
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050040}
41
42do_populate_sysroot[rdeptask] = "do_populate_sysroot"