1*4882a593SmuzhiyunSUMMARY = "Perl module for using and building Perl SAX2 XML processors" 2*4882a593SmuzhiyunHOMEPAGE = "http://search.cpan.org/dist/XML-SAX/" 3*4882a593SmuzhiyunDESCRIPTION = "XML::SAX consists of several framework classes for using and \ 4*4882a593Smuzhiyunbuilding Perl SAX2 XML parsers, filters, and drivers. It is designed \ 5*4882a593Smuzhiyunaround the need to be able to "plug in" different SAX parsers to an \ 6*4882a593Smuzhiyunapplication without requiring programmer intervention. Those of you \ 7*4882a593Smuzhiyunfamiliar with the DBI will be right at home. Some of the designs \ 8*4882a593Smuzhiyuncome from the Java JAXP specification (SAX part), only without the \ 9*4882a593Smuzhiyunjavaness." 10*4882a593Smuzhiyun 11*4882a593SmuzhiyunSECTION = "libs" 12*4882a593SmuzhiyunLICENSE = "Artistic-1.0 | GPL-1.0-or-later" 13*4882a593SmuzhiyunDEPENDS += "libxml-namespacesupport-perl-native" 14*4882a593SmuzhiyunRDEPENDS:${PN} += "libxml-namespacesupport-perl libxml-sax-base-perl perl-module-file-temp" 15*4882a593Smuzhiyun 16*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://LICENSE;md5=65c4cd8f39c24c7135ed70dacbcb09e3" 17*4882a593Smuzhiyun 18*4882a593SmuzhiyunSRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GR/GRANTM/XML-SAX-${PV}.tar.gz" 19*4882a593Smuzhiyun 20*4882a593SmuzhiyunSRC_URI[md5sum] = "b62e3754523695c7f5bbcafa3676a38d" 21*4882a593SmuzhiyunSRC_URI[sha256sum] = "4506c387043aa6a77b455f00f57409f3720aa7e553495ab2535263b4ed1ea12a" 22*4882a593Smuzhiyun 23*4882a593SmuzhiyunS = "${WORKDIR}/XML-SAX-${PV}" 24*4882a593Smuzhiyun 25*4882a593Smuzhiyuninherit cpan ptest-perl 26*4882a593Smuzhiyun 27*4882a593Smuzhiyundo_install_ptest() { 28*4882a593Smuzhiyun cp -r ${B}/testfiles ${D}${PTEST_PATH} 29*4882a593Smuzhiyun chown -R root:root ${D}${PTEST_PATH}/testfiles 30*4882a593Smuzhiyun} 31*4882a593Smuzhiyun 32*4882a593SmuzhiyunRDEPENDS:${PN} += "perl-module-encode perl-module-perlio" 33*4882a593Smuzhiyun 34*4882a593SmuzhiyunRDEPENDS:${PN}-ptest += " \ 35*4882a593Smuzhiyun perl-module-base \ 36*4882a593Smuzhiyun perl-module-encode-byte \ 37*4882a593Smuzhiyun perl-module-encode-unicode \ 38*4882a593Smuzhiyun perl-module-fatal \ 39*4882a593Smuzhiyun perl-module-test \ 40*4882a593Smuzhiyun" 41*4882a593Smuzhiyun 42*4882a593SmuzhiyunBBCLASSEXTEND = "native nativesdk" 43