diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2008-12-02 21:40:25 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2008-12-02 21:40:25 +0000 |
commit | 63c279ef55553c73e9ba1aa65ac1e054c2bc0e4c (patch) | |
tree | ef88f667080fd6390399e510a1952bc1e81de197 /meta-moblin/packages/xerces-c/xerces-c_2.8.0.bb | |
parent | 8a7ecd59c7f7507767e238b268ead536b961632a (diff) | |
download | poky-63c279ef55553c73e9ba1aa65ac1e054c2bc0e4c.tar.gz |
Move check, policykit and xerces-c to meta-moblin
Diffstat (limited to 'meta-moblin/packages/xerces-c/xerces-c_2.8.0.bb')
-rw-r--r-- | meta-moblin/packages/xerces-c/xerces-c_2.8.0.bb | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta-moblin/packages/xerces-c/xerces-c_2.8.0.bb b/meta-moblin/packages/xerces-c/xerces-c_2.8.0.bb new file mode 100644 index 0000000000..d78bb22ad9 --- /dev/null +++ b/meta-moblin/packages/xerces-c/xerces-c_2.8.0.bb | |||
@@ -0,0 +1,36 @@ | |||
1 | DESCRIPTION = "Xerces-c is a validating xml parser written in C++" | ||
2 | HOMEPAGE = "http://xerces.apache.org/xerces-c/" | ||
3 | SECTION = "libs" | ||
4 | PRIORITY = "optional" | ||
5 | LICENSE = "MIT" | ||
6 | PR = "r1" | ||
7 | |||
8 | SRC_URI = "http://mirror.serversupportforum.de/apache/xerces/c/2/sources/xerces-c-src_2_8_0.tar.gz" | ||
9 | S = "${WORKDIR}/xerces-c-src_2_8_0/src/xercesc" | ||
10 | |||
11 | inherit autotools pkgconfig | ||
12 | |||
13 | CCACHE = "" | ||
14 | export XERCESCROOT="${WORKDIR}/xerces-c-src_2_8_0" | ||
15 | export cross_compiling = "yes" | ||
16 | |||
17 | do_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 | |||
24 | do_compile() { | ||
25 | ${MAKE} | ||
26 | } | ||
27 | |||
28 | do_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 | |||
34 | do_install () { | ||
35 | ${MAKE} install | ||
36 | } | ||