diff options
Diffstat (limited to 'meta-oe/recipes-devtools/xerces-c/xerces-c_3.2.5.bb')
| -rw-r--r-- | meta-oe/recipes-devtools/xerces-c/xerces-c_3.2.5.bb | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/xerces-c/xerces-c_3.2.5.bb b/meta-oe/recipes-devtools/xerces-c/xerces-c_3.2.5.bb new file mode 100644 index 0000000000..1643af2546 --- /dev/null +++ b/meta-oe/recipes-devtools/xerces-c/xerces-c_3.2.5.bb | |||
| @@ -0,0 +1,43 @@ | |||
| 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://archive.apache.org/dist/xerces/c/3/sources/${BP}.tar.bz2" | ||
| 13 | SRC_URI[sha256sum] = "1db4028c9b7f1f778efbf4a9462d65e13f9938f2c22f9e9994e12c49ba97e252" | ||
| 14 | |||
| 15 | inherit autotools | ||
| 16 | |||
| 17 | PACKAGECONFIG ??= "curl icu" | ||
| 18 | PACKAGECONFIG[curl] = "--with-curl=${STAGING_DIR_TARGET}${prefix},--with-curl=no,curl" | ||
| 19 | PACKAGECONFIG[icu] = "--with-icu=${STAGING_DIR_TARGET}${prefix},--with-icu=no,icu" | ||
| 20 | |||
| 21 | do_install:prepend () { | ||
| 22 | sed -i s:-L${STAGING_LIBDIR}::g ${B}/xerces-c.pc | ||
| 23 | } | ||
| 24 | |||
| 25 | PACKAGES = "libxerces-c \ | ||
| 26 | libxerces-c-dev \ | ||
| 27 | xerces-c-samples \ | ||
| 28 | libxerces-c-staticdev \ | ||
| 29 | ${PN}-dbg \ | ||
| 30 | " | ||
| 31 | |||
| 32 | RPROVIDES:${PN}-dbg += "libxerces-c-dbg xerces-c-samples-dbg" | ||
| 33 | |||
| 34 | FILES:libxerces-c = "${libdir}/libxerces-c-3.2.so" | ||
| 35 | FILES:libxerces-c-dev = "${libdir}/lib*.la \ | ||
| 36 | ${libdir}/libxerces-c.so \ | ||
| 37 | ${libdir}/pkgconfig/xerces-c.pc \ | ||
| 38 | ${includedir}/xercesc \ | ||
| 39 | " | ||
| 40 | FILES:xerces-c-samples = "${bindir}/*" | ||
| 41 | FILES:libxerces-c-staticdev = "${libdir}/lib*.a" | ||
| 42 | |||
| 43 | BBCLASSEXTEND = "native" | ||
