1SUMMARY = "Xerces-c is a validating xml parser written in C++" 2DESCRIPTION = "Xerces-C++ makes it easy to give your application \ 3 the ability to read and write XML data. \ 4 A shared library is provided for parsing, generating, \ 5 manipulating, and validating XML documents using \ 6 the DOM, SAX, and SAX2 APIs." 7HOMEPAGE = "http://xerces.apache.org/xerces-c/" 8SECTION = "libs" 9LICENSE = "Apache-2.0" 10LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" 11 12SRC_URI = "http://archive.apache.org/dist/xerces/c/3/sources/${BP}.tar.bz2" 13SRC_URI[md5sum] = "d04ae9d8b2dee2157c6db95fa908abfd" 14SRC_URI[sha256sum] = "9408f12c1628ecf80730bedbe8b2caad810edd01bb4c66f77b60c873e8cc6891" 15 16inherit autotools 17 18PACKAGECONFIG ??= "curl icu" 19PACKAGECONFIG[curl] = "--with-curl=${STAGING_DIR_TARGET}${prefix},--with-curl=no,curl" 20PACKAGECONFIG[icu] = "--with-icu=${STAGING_DIR_TARGET}${prefix},--with-icu=no,icu" 21 22do_install:prepend () { 23 sed -i -e 's:-L${STAGING_DIR}/lib:-L\$\{libdir\}:g' ${B}/xerces-c.pc 24} 25 26PACKAGES = "libxerces-c \ 27 libxerces-c-dev \ 28 xerces-c-samples \ 29 libxerces-c-staticdev \ 30 ${PN}-dbg \ 31" 32 33RPROVIDES:${PN}-dbg += "libxerces-c-dbg xerces-c-samples-dbg" 34 35FILES:libxerces-c = "${libdir}/libxerces-c-3.1.so" 36FILES:libxerces-c-dev = "${libdir}/lib*.la \ 37 ${libdir}/libxerces-c.so \ 38 ${libdir}/pkgconfig/xerces-c.pc \ 39 ${includedir}/xercesc \ 40" 41FILES:xerces-c-samples = "${bindir}/*" 42FILES:libxerces-c-staticdev = "${libdir}/lib*.a" 43 44BBCLASSEXTEND = "native" 45