summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/xmlto/xmlto_0.0.29.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/xmlto/xmlto_0.0.29.bb')
-rw-r--r--meta/recipes-devtools/xmlto/xmlto_0.0.29.bb44
1 files changed, 44 insertions, 0 deletions
diff --git a/meta/recipes-devtools/xmlto/xmlto_0.0.29.bb b/meta/recipes-devtools/xmlto/xmlto_0.0.29.bb
new file mode 100644
index 0000000000..613d7973ec
--- /dev/null
+++ b/meta/recipes-devtools/xmlto/xmlto_0.0.29.bb
@@ -0,0 +1,44 @@
1SUMMARY = "A shell-script tool for converting XML files to various formats"
2HOMEPAGE = "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."
4SECTION = "docs/xmlto"
5LICENSE = "GPL-2.0-only"
6
7LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
8
9SRCREV = "74862a684907ada3d4ed2ce0f8111adf626e1456"
10SRC_URI = "git://pagure.io/xmlto.git;protocol=https;branch=master"
11
12inherit autotools
13
14CLEANBROKEN = "1"
15
16DEPENDS = "libxml2-native libxslt-native flex-native docbook-xml-dtd4-native docbook-xsl-stylesheets-native"
17
18RDEPENDS:${PN} = "docbook-xml-dtd4 \
19 docbook-xsl-stylesheets \
20 util-linux \
21 libxml2 \
22 libxslt \
23 bash \
24"
25RDEPENDS:${PN}:append:class-target = " \
26 libxml2-utils \
27 libxslt-bin \
28 coreutils \
29"
30CACHED_CONFIGUREVARS += "ac_cv_path_TAIL=tail ac_cv_path_GREP=grep ac_cv_path_XMLLINT=xmllint ac_cv_path_XSLTPROC=xsltproc"
31
32BBCLASSEXTEND = "native"
33
34EXTRA_OECONF:append = " XMLTO_BASH_PATH=/bin/bash GCP=/bin/cp"
35
36do_configure:prepend() {
37 (cd ${S} && flex -o xmlif/xmlif.c xmlif/xmlif.l)
38}
39
40do_install:append:class-native() {
41 create_wrapper ${D}${bindir}/xmlto XML_CATALOG_FILES=${sysconfdir}/xml/catalog
42}
43
44do_populate_sysroot[rdeptask] = "do_populate_sysroot"