summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/xerces-c/xerces-c_3.2.5.bb
diff options
context:
space:
mode:
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.bb43
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 @@
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[sha256sum] = "1db4028c9b7f1f778efbf4a9462d65e13f9938f2c22f9e9994e12c49ba97e252"
14
15inherit autotools
16
17PACKAGECONFIG ??= "curl icu"
18PACKAGECONFIG[curl] = "--with-curl=${STAGING_DIR_TARGET}${prefix},--with-curl=no,curl"
19PACKAGECONFIG[icu] = "--with-icu=${STAGING_DIR_TARGET}${prefix},--with-icu=no,icu"
20
21do_install:prepend () {
22 sed -i s:-L${STAGING_LIBDIR}::g ${B}/xerces-c.pc
23}
24
25PACKAGES = "libxerces-c \
26 libxerces-c-dev \
27 xerces-c-samples \
28 libxerces-c-staticdev \
29 ${PN}-dbg \
30"
31
32RPROVIDES:${PN}-dbg += "libxerces-c-dbg xerces-c-samples-dbg"
33
34FILES:libxerces-c = "${libdir}/libxerces-c-3.2.so"
35FILES:libxerces-c-dev = "${libdir}/lib*.la \
36 ${libdir}/libxerces-c.so \
37 ${libdir}/pkgconfig/xerces-c.pc \
38 ${includedir}/xercesc \
39"
40FILES:xerces-c-samples = "${bindir}/*"
41FILES:libxerces-c-staticdev = "${libdir}/lib*.a"
42
43BBCLASSEXTEND = "native"