summaryrefslogtreecommitdiffstats
path: root/meta/packages/xerces-c
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/xerces-c')
-rw-r--r--meta/packages/xerces-c/xerces-c_2.8.0.bb36
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/packages/xerces-c/xerces-c_2.8.0.bb b/meta/packages/xerces-c/xerces-c_2.8.0.bb
new file mode 100644
index 0000000000..d78bb22ad9
--- /dev/null
+++ b/meta/packages/xerces-c/xerces-c_2.8.0.bb
@@ -0,0 +1,36 @@
1DESCRIPTION = "Xerces-c is a validating xml parser written in C++"
2HOMEPAGE = "http://xerces.apache.org/xerces-c/"
3SECTION = "libs"
4PRIORITY = "optional"
5LICENSE = "MIT"
6PR = "r1"
7
8SRC_URI = "http://mirror.serversupportforum.de/apache/xerces/c/2/sources/xerces-c-src_2_8_0.tar.gz"
9S = "${WORKDIR}/xerces-c-src_2_8_0/src/xercesc"
10
11inherit autotools pkgconfig
12
13CCACHE = ""
14export XERCESCROOT="${WORKDIR}/xerces-c-src_2_8_0"
15export cross_compiling = "yes"
16
17do_configure() {
18 ./runConfigure -plinux -c"${CC}" -x"${CXX}" -minmem -nsocket -tnative -rpthread -P${D}${prefix} \
19 -C--build=${BUILD_SYS} \
20 -C--host=${HOST_SYS} \
21 -C--target=${TARGET_SYS} \
22}
23
24do_compile() {
25 ${MAKE}
26}
27
28do_stage () {
29 oe_libinstall -C ${XERCESCROOT}/lib libxerces-c ${STAGING_LIBDIR}
30 oe_libinstall -C ${XERCESCROOT}/lib libxerces-depdom ${STAGING_LIBDIR}
31 cp -pPR ${XERCESCROOT}/include/xercesc ${STAGING_INCDIR}
32}
33
34do_install () {
35 ${MAKE} install
36}