diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/xerces-c | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/xerces-c')
-rw-r--r-- | recipes/xerces-c/xerces-c_2.8.0.bb | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/recipes/xerces-c/xerces-c_2.8.0.bb b/recipes/xerces-c/xerces-c_2.8.0.bb new file mode 100644 index 0000000000..d78bb22ad9 --- /dev/null +++ b/recipes/xerces-c/xerces-c_2.8.0.bb @@ -0,0 +1,36 @@ +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 = "r1" + +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() { + ./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_stage () { + oe_libinstall -C ${XERCESCROOT}/lib libxerces-c ${STAGING_LIBDIR} + oe_libinstall -C ${XERCESCROOT}/lib libxerces-depdom ${STAGING_LIBDIR} + cp -pPR ${XERCESCROOT}/include/xercesc ${STAGING_INCDIR} +} + +do_install () { + ${MAKE} install +} |