blob: df798dfcdde48601f644e1d66acfe5f9ac4dcf10 [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
Brad Bishop19323692019-04-05 15:28:33 -040016DEPENDS = "libxml2-native"
17
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050018RDEPENDS_${PN} = "docbook-xml-dtd4 \
19 docbook-xsl-stylesheets \
20 util-linux \
21 libxml2 \
Brad Bishop19323692019-04-05 15:28:33 -040022 libxslt \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050023 bash \
24"
25RDEPENDS_${PN}_append_class-target = " \
Brad Bishop19323692019-04-05 15:28:33 -040026 libxml2-utils \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050027 libxslt-bin \
Patrick Williamsc0f7c042017-02-23 20:41:17 -060028 coreutils \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050029"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050030CACHED_CONFIGUREVARS += "ac_cv_path_TAIL=tail"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050031
32BBCLASSEXTEND = "native"
33
34EXTRA_OECONF_append = " BASH=/bin/bash GCP=/bin/cp XMLLINT=xmllint XSLTPROC=xsltproc"
35
Brad Bishop19323692019-04-05 15:28:33 -040036do_install_append_class-native() {
37 create_wrapper ${D}${bindir}/xmlto XML_CATALOG_FILES=${sysconfdir}/xml/catalog
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050038}
39
40do_populate_sysroot[rdeptask] = "do_populate_sysroot"