1*4882a593SmuzhiyunSUMMARY = "A shell-script tool for converting XML files to various formats" 2*4882a593SmuzhiyunHOMEPAGE = "https://pagure.io/xmlto" 3*4882a593SmuzhiyunDESCRIPTION = "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." 4*4882a593SmuzhiyunSECTION = "docs/xmlto" 5*4882a593SmuzhiyunLICENSE = "GPL-2.0-only" 6*4882a593Smuzhiyun 7*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" 8*4882a593Smuzhiyun 9*4882a593SmuzhiyunSRC_URI = "https://releases.pagure.org/xmlto/xmlto-${PV}.tar.gz \ 10*4882a593Smuzhiyun file://configure.in-drop-the-test-of-xmllint-and-xsltproc.patch \ 11*4882a593Smuzhiyun" 12*4882a593SmuzhiyunSRC_URI[md5sum] = "a1fefad9d83499a15576768f60f847c6" 13*4882a593SmuzhiyunSRC_URI[sha256sum] = "2f986b7c9a0e9ac6728147668e776d405465284e13c74d4146c9cbc51fd8aad3" 14*4882a593Smuzhiyun 15*4882a593Smuzhiyuninherit autotools 16*4882a593Smuzhiyun 17*4882a593SmuzhiyunCLEANBROKEN = "1" 18*4882a593Smuzhiyun 19*4882a593SmuzhiyunDEPENDS = "libxml2-native" 20*4882a593Smuzhiyun 21*4882a593SmuzhiyunRDEPENDS:${PN} = "docbook-xml-dtd4 \ 22*4882a593Smuzhiyun docbook-xsl-stylesheets \ 23*4882a593Smuzhiyun util-linux \ 24*4882a593Smuzhiyun libxml2 \ 25*4882a593Smuzhiyun libxslt \ 26*4882a593Smuzhiyun bash \ 27*4882a593Smuzhiyun" 28*4882a593SmuzhiyunRDEPENDS:${PN}:append:class-target = " \ 29*4882a593Smuzhiyun libxml2-utils \ 30*4882a593Smuzhiyun libxslt-bin \ 31*4882a593Smuzhiyun coreutils \ 32*4882a593Smuzhiyun" 33*4882a593SmuzhiyunCACHED_CONFIGUREVARS += "ac_cv_path_TAIL=tail ac_cv_path_GREP=grep" 34*4882a593Smuzhiyun 35*4882a593SmuzhiyunBBCLASSEXTEND = "native" 36*4882a593Smuzhiyun 37*4882a593SmuzhiyunEXTRA_OECONF:append = " BASH=/bin/bash GCP=/bin/cp XMLLINT=xmllint XSLTPROC=xsltproc" 38*4882a593Smuzhiyun 39*4882a593Smuzhiyundo_install:append:class-native() { 40*4882a593Smuzhiyun create_wrapper ${D}${bindir}/xmlto XML_CATALOG_FILES=${sysconfdir}/xml/catalog 41*4882a593Smuzhiyun} 42*4882a593Smuzhiyun 43*4882a593Smuzhiyundo_populate_sysroot[rdeptask] = "do_populate_sysroot" 44