2014-07-15 12:18:06 +00:00
|
|
|
SUMMARY = "A shell-script tool for converting XML files to various formats"
|
2017-04-03 02:51:41 +00:00
|
|
|
HOMEPAGE = "https://releases.pagure.org/xmlto/"
|
2014-07-15 12:18:06 +00:00
|
|
|
SECTION = "docs/xmlto"
|
|
|
|
LICENSE = "GPLv2"
|
|
|
|
|
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
|
|
|
|
|
2017-04-03 02:51:41 +00:00
|
|
|
SRC_URI = "https://releases.pagure.org/xmlto/xmlto-${PV}.tar.gz \
|
2014-07-15 12:18:06 +00:00
|
|
|
file://configure.in-drop-the-test-of-xmllint-and-xsltproc.patch \
|
|
|
|
file://catalog.xml \
|
|
|
|
"
|
2016-01-11 00:30:34 +00:00
|
|
|
SRC_URI[md5sum] = "a1fefad9d83499a15576768f60f847c6"
|
|
|
|
SRC_URI[sha256sum] = "2f986b7c9a0e9ac6728147668e776d405465284e13c74d4146c9cbc51fd8aad3"
|
2014-07-15 12:18:06 +00:00
|
|
|
|
|
|
|
inherit autotools
|
2016-10-06 18:38:59 +00:00
|
|
|
RDEPENDS_class-native = "libxslt-native"
|
2014-07-15 12:18:06 +00:00
|
|
|
|
2016-05-26 09:17:19 +00:00
|
|
|
# xmlto needs getopt/xmllint/xsltproc/bash/tail at runtime
|
2014-07-15 12:18:06 +00:00
|
|
|
RDEPENDS_${PN} = "docbook-xml-dtd4 \
|
|
|
|
docbook-xsl-stylesheets \
|
|
|
|
util-linux \
|
|
|
|
libxml2 \
|
2014-08-18 06:24:06 +00:00
|
|
|
bash \
|
2014-07-15 12:18:06 +00:00
|
|
|
"
|
|
|
|
RDEPENDS_${PN}_append_class-target = " \
|
|
|
|
libxslt-bin \
|
2016-07-18 03:05:52 +00:00
|
|
|
coreutils \
|
2014-07-15 12:18:06 +00:00
|
|
|
"
|
2017-01-30 23:18:28 +00:00
|
|
|
CACHED_CONFIGUREVARS += "ac_cv_path_TAIL=tail"
|
2014-07-15 12:18:06 +00:00
|
|
|
|
|
|
|
BBCLASSEXTEND = "native"
|
|
|
|
|
2016-03-08 11:27:35 +00:00
|
|
|
EXTRA_OECONF_append = " BASH=/bin/bash GCP=/bin/cp XMLLINT=xmllint XSLTPROC=xsltproc"
|
2014-07-15 12:18:06 +00:00
|
|
|
|
|
|
|
do_install_append() {
|
|
|
|
install -d ${D}${sysconfdir}/xml/
|
|
|
|
install -m 755 ${WORKDIR}/catalog.xml ${D}${sysconfdir}/xml/catalog.xml
|
|
|
|
create_wrapper ${D}/${bindir}/xmlto XML_CATALOG_FILES=${sysconfdir}/xml/catalog.xml
|
|
|
|
}
|
|
|
|
|
2015-01-27 23:26:31 +00:00
|
|
|
do_populate_sysroot[rdeptask] = "do_populate_sysroot"
|