xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/perl/libxml-simple-perl_2.25.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "Perl module for reading and writing XML"
2*4882a593SmuzhiyunDESCRIPTION = "The XML::Simple Perl module provides a simple API layer \
3*4882a593Smuzhiyunon top of an underlying XML parsing module to maintain XML files \
4*4882a593Smuzhiyun(especially configuration files). It is a blunt rewrite of XML::Simple \
5*4882a593Smuzhiyun(by Grant McLean) to use the XML::LibXML parser for XML structures, \
6*4882a593Smuzhiyunwhere the original uses plain Perl or SAX parsers."
7*4882a593SmuzhiyunHOMEPAGE = "http://search.cpan.org/~markov/XML-LibXML-Simple-0.93/lib/XML/LibXML/Simple.pod"
8*4882a593SmuzhiyunSECTION = "libs"
9*4882a593SmuzhiyunLICENSE = "Artistic-1.0 | GPL-1.0-or-later"
10*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://LICENSE;md5=cf206df8c9fe775f1d4c484386491eac"
11*4882a593SmuzhiyunDEPENDS += "libxml-parser-perl"
12*4882a593Smuzhiyun
13*4882a593SmuzhiyunSRC_URI = "http://www.cpan.org/modules/by-module/XML/XML-Simple-${PV}.tar.gz"
14*4882a593Smuzhiyun
15*4882a593SmuzhiyunSRC_URI[md5sum] = "bb841dce889a26c89a1c2739970e9fbc"
16*4882a593SmuzhiyunSRC_URI[sha256sum] = "531fddaebea2416743eb5c4fdfab028f502123d9a220405a4100e68fc480dbf8"
17*4882a593Smuzhiyun
18*4882a593SmuzhiyunS = "${WORKDIR}/XML-Simple-${PV}"
19*4882a593Smuzhiyun
20*4882a593SmuzhiyunEXTRA_PERLFLAGS = "-I ${PERLHOSTLIB}"
21*4882a593Smuzhiyun
22*4882a593Smuzhiyuninherit cpan ptest-perl
23*4882a593Smuzhiyun
24*4882a593SmuzhiyunRDEPENDS:${PN} += " \
25*4882a593Smuzhiyun    libxml-namespacesupport-perl \
26*4882a593Smuzhiyun    libxml-parser-perl \
27*4882a593Smuzhiyun    libxml-sax-perl \
28*4882a593Smuzhiyun"
29*4882a593Smuzhiyun
30*4882a593SmuzhiyunRDEPENDS:${PN}-ptest += " \
31*4882a593Smuzhiyun    perl-module-file-temp \
32*4882a593Smuzhiyun    perl-module-test-more \
33*4882a593Smuzhiyun"
34*4882a593Smuzhiyun
35*4882a593SmuzhiyunBBCLASSEXTEND = "native"
36