xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/perl/libxml-perl_0.08.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunDESCRIPTION = "libxml-perl is a collection of smaller Perl modules, scripts, and \
2*4882a593Smuzhiyundocuments for working with XML in Perl.  libxml-perl software \
3*4882a593Smuzhiyunworks in combination with XML::Parser, PerlSAX, XML::DOM, \
4*4882a593SmuzhiyunXML::Grove and others."
5*4882a593SmuzhiyunHOMEPAGE = "http://search.cpan.org/dist/libxml-perl/"
6*4882a593SmuzhiyunSUMMARY = "Collection of Perl modules for working with XML"
7*4882a593SmuzhiyunSECTION = "libs"
8*4882a593SmuzhiyunLICENSE = "Artistic-1.0 | GPL-1.0-or-later"
9*4882a593SmuzhiyunPR = "r3"
10*4882a593Smuzhiyun
11*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://README;beginline=33;endline=35;md5=1705549eef7577a3d6ba71123a1f0ce8"
12*4882a593Smuzhiyun
13*4882a593SmuzhiyunDEPENDS += "libxml-parser-perl"
14*4882a593Smuzhiyun
15*4882a593SmuzhiyunSRC_URI = "http://www.cpan.org/modules/by-module/XML/${BPN}-${PV}.tar.gz"
16*4882a593Smuzhiyun
17*4882a593SmuzhiyunSRC_URI[md5sum] = "0ed5fbdda53d1301ddaed88db10503bb"
18*4882a593SmuzhiyunSRC_URI[sha256sum] = "4571059b7b5d48b7ce52b01389e95d798bf5cf2020523c153ff27b498153c9cb"
19*4882a593Smuzhiyun
20*4882a593SmuzhiyunEXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}"
21*4882a593Smuzhiyun
22*4882a593Smuzhiyuninherit cpan ptest-perl
23*4882a593Smuzhiyun
24*4882a593Smuzhiyundo_compile() {
25*4882a593Smuzhiyun	export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')"
26*4882a593Smuzhiyun	cpan_do_compile
27*4882a593Smuzhiyun}
28*4882a593Smuzhiyun
29*4882a593SmuzhiyunRDEPENDS:${PN} += "perl-module-carp perl-module-overload perl-module-universal perl-module-io-handle"
30*4882a593SmuzhiyunRDEPENDS:${PN}-ptest += "libxml-parser-perl perl-module-file-glob"
31