summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Balister <philip@balister.org>2006-11-23 14:06:37 +0000
committerPhilip Balister <philip@balister.org>2006-11-23 14:06:37 +0000
commitbf3b83e69b6c266d7ab57fcc62dd0b3b27ee131a (patch)
treeedaacfb4d4a1bf8369e17888d56c083382faaa12
parent24b87a96e22a0798c2cc325430692bf7b629930d (diff)
parentcc3ec67d94b209acdfa06d788533956973dd8260 (diff)
merge of '4d957b0f42712e699ac776282979b42345af9a76'
and 'ba7ea90e82b9377a89dcab04346d4c86eee0f6df'
-rw-r--r--packages/xerces-c/xerces-c_2.7.0.bb51
1 files changed, 51 insertions, 0 deletions
diff --git a/packages/xerces-c/xerces-c_2.7.0.bb b/packages/xerces-c/xerces-c_2.7.0.bb
new file mode 100644
index 0000000000..86f88450cd
--- /dev/null
+++ b/packages/xerces-c/xerces-c_2.7.0.bb
@@ -0,0 +1,51 @@
+PR = "r0"
+DESCRIPTION = "Xerces-c xml"
+SECTION = "libs"
+PRIORITY = "optional"
+LICENSE = "MIT"
+
+
+
+
+S="${WORKDIR}/xerces-c-src_2_7_0"
+
+SRC_URI = "http://www.axint.net/apache/xml/xerces-c/source/xerces-c-src_2_7_0.tar.gz"
+
+inherit pkgconfig
+
+
+#
+# Warning: BITSTOBUILD will default to 32 bits
+#
+export TRANSCODER="NATIVE"
+export MESSAGELOADER="INMEM"
+export NETACCESSOR="Socket"
+export THREADS="pthread"
+export BITSTOBUILD="32"
+export LIBS = " -lpthread "
+CFLAGS_append = " -DPROJ_XMLPARSER -DPROJ_XMLUTIL -DPROJ_PARSERS -DPROJ_SAX4C -DPROJ_SAX2 -DPROJ_DOM -DPROJ_DEPRECATED_DOM -DPROJ_VALIDATORS -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS -DXML_USE_NETACCESSOR_SOCKET "
+CXXFLAGS_append = " -DPROJ_XMLPARSER -DPROJ_XMLUTIL -DPROJ_PARSERS -DPROJ_SAX4C -DPROJ_SAX2 -DPROJ_DOM -DPROJ_DEPRECATED_DOM -DPROJ_VALIDATORS -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS -DXML_USE_NETACCESSOR_SOCKET "
+
+do_configure() {
+ export XERCESCROOT=${S}
+ cd src/xercesc
+ ./configure
+}
+
+do_compile () {
+ export XERCESCROOT=${S}
+ cd src/xercesc
+ oe_runmake
+}
+
+do_stage () {
+ oe_libinstall -C lib libxerces-c ${STAGING_LIBDIR}
+ oe_libinstall -C lib libxerces-depdom ${STAGING_LIBDIR}
+
+ cp -pPR include/xercesc ${STAGING_INCDIR}
+}
+
+do_install () {
+ oe_libinstall -C lib libxerces-c ${D}${libdir}
+ oe_libinstall -C lib libxerces-depdom ${D}${libdir}
+}