summaryrefslogtreecommitdiff
path: root/recipes/nonworking/xmlbench/xmlbench_1.3.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/nonworking/xmlbench/xmlbench_1.3.1.bb')
-rw-r--r--recipes/nonworking/xmlbench/xmlbench_1.3.1.bb15
1 files changed, 15 insertions, 0 deletions
diff --git a/recipes/nonworking/xmlbench/xmlbench_1.3.1.bb b/recipes/nonworking/xmlbench/xmlbench_1.3.1.bb
new file mode 100644
index 0000000000..d8d2159280
--- /dev/null
+++ b/recipes/nonworking/xmlbench/xmlbench_1.3.1.bb
@@ -0,0 +1,15 @@
+LICENSE = "GPLv2"
+DEPENDS = "libxml2 expat"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/xmlbench/xmlbench-${PV}.tar.bz2"
+S = "${WORKDIR}/xmlbench"
+
+EXTRA_OEMAKE = ""
+do_compile () {
+ oe_runmake 'gcc=${CC}' 'gpp=${CXX}' 'gppstd=${CXX}' 'LIBXML=yes' 'EXPAT=yes' 'LIBXML_INCLUDE=-I${STAGING_INCDIR}/libxml2' 'LIBXML_LIB=-L${STAGING_LIBDIR} -lxml2' 'EXPAT_LIB=-L${STAGING_LIBDIR} -lexpat' 'EXPAT_INCLUDE=-I${STAGING_INCDIR}' 'GDOME=no' 'LIBXSLT=no' 'XMLSEC=no' 'XMLSEC1=no' 'SABLOTRON=no' 'ARABICA=no' 'CSLXML=no' 'XERCESC=no' 'RXP=no' 'XDKC=no' 'XDKP=no' 'QT=no' 'XML4C=no' 'FLAGS=${CFLAGS} -I${STAGING_INCDIR}/libxml2' 'XDKJ=no' 'SUN=no' 'SUBDIRS=xmlgen parse create validate xsl security'
+}
+
+# FIXME:
+# This package builds, but the benchmarks expect to run inside the
+# source tree. Need to hack up its scripts to put things in the correct
+# locations, similar to what debian did to lmbench.