aboutsummaryrefslogtreecommitdiff
path: root/recipes/xerces-c/xerces-c_2.8.0.bb
blob: c2fc87272a39c47c2fa6868e8fb6fe722e3f78d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
DESCRIPTION = "Xerces-c is a validating xml parser written in C++"
HOMEPAGE = "http://xerces.apache.org/xerces-c/"
SECTION =  "libs"
PRIORITY = "optional"
LICENSE = "MIT"
PR = "r2"

SRC_URI = "http://mirror.serversupportforum.de/apache/xerces/c/2/sources/xerces-c-src_2_8_0.tar.gz"
S = "${WORKDIR}/xerces-c-src_2_8_0/src/xercesc"

inherit autotools pkgconfig

CCACHE = ""
export XERCESCROOT="${WORKDIR}/xerces-c-src_2_8_0"
export cross_compiling = "yes"

do_configure() {
	gnu-configize
	./runConfigure -plinux -c"${CC}" -x"${CXX}" -minmem -nsocket -tnative -rpthread -P${D}${prefix} \
                    -C--build=${BUILD_SYS} \
                    -C--host=${HOST_SYS} \
                    -C--target=${TARGET_SYS} \
}

do_compile() {
	${MAKE}
}

do_install () {
	${MAKE} install
}

SRC_URI[md5sum] = "5daf514b73f3e0de9e3fce704387c0d2"
SRC_URI[sha256sum] = "416eaf74bbe6ff3b3c64a282e886810cad6cbb48478d3c83344661504c09c8d6"