Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | SUMMARY = "Xerces-c is a validating xml parser written in C++" |
| 2 | DESCRIPTION = "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." |
| 7 | HOMEPAGE = "http://xerces.apache.org/xerces-c/" |
| 8 | SECTION = "libs" |
| 9 | LICENSE = "Apache-2.0" |
| 10 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" |
| 11 | |
| 12 | SRC_URI = "http://apache.lauf-forum.at/xerces/c/3/sources/${BP}.tar.bz2" |
| 13 | SRC_URI[md5sum] = "5e333b55cb43e6b025ddf0e5d0f0fb0d" |
| 14 | SRC_URI[sha256sum] = "fc5e5e0247b108b8d64d75aeb124cabdee9b7fcd725a89fe2242b4637b25c1fa" |
| 15 | |
| 16 | inherit autotools |
| 17 | |
| 18 | PACKAGECONFIG ??= "curl icu" |
| 19 | PACKAGECONFIG[curl] = "--with-curl=${STAGING_DIR},--with-curl=no,curl" |
| 20 | PACKAGECONFIG[icu] = "--with-icu=${STAGING_DIR},--with-icu=no,icu" |
| 21 | |
| 22 | do_install_prepend () { |
| 23 | sed -i -e 's:-L${STAGING_DIR}/lib:-L\$\{libdir\}:g' ${B}/xerces-c.pc |
| 24 | } |
| 25 | |
| 26 | PACKAGES = "libxerces-c \ |
| 27 | libxerces-c-dbg \ |
| 28 | libxerces-c-dev \ |
| 29 | xerces-c-samples \ |
| 30 | xerces-c-samples-dbg \ |
| 31 | libxerces-c-staticdev \ |
| 32 | " |
| 33 | |
| 34 | FILES_libxerces-c = "${libdir}/libxerces-c-3.1.so" |
| 35 | FILES_libxerces-c-dbg = "${libdir}/.debug \ |
| 36 | ${prefix}/src/debug " |
| 37 | FILES_libxerces-c-dev = "${libdir}/lib*.la \ |
| 38 | ${libdir}/libxerces-c.so \ |
| 39 | ${libdir}/pkgconfig/xerces-c.pc \ |
| 40 | ${includedir}/xercesc \ |
| 41 | " |
| 42 | FILES_xerces-c-samples = "${bindir}/*" |
| 43 | FILES_xerces-c-samples-dbg = "${bindir}/.debug/" |
| 44 | FILES_libxerces-c-staticdev = "${libdir}/lib*.a" |
| 45 | |
| 46 | BBCLASSEXTEND = "native" |