summaryrefslogtreecommitdiff
path: root/packages/nonworking/xmlbench
diff options
context:
space:
mode:
Diffstat (limited to 'packages/nonworking/xmlbench')
-rw-r--r--packages/nonworking/xmlbench/.mtn2git_empty0
-rw-r--r--packages/nonworking/xmlbench/xmlbench_1.3.1.bb16
2 files changed, 16 insertions, 0 deletions
diff --git a/packages/nonworking/xmlbench/.mtn2git_empty b/packages/nonworking/xmlbench/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/nonworking/xmlbench/.mtn2git_empty
diff --git a/packages/nonworking/xmlbench/xmlbench_1.3.1.bb b/packages/nonworking/xmlbench/xmlbench_1.3.1.bb
index e69de29bb2..d574ace77b 100644
--- a/packages/nonworking/xmlbench/xmlbench_1.3.1.bb
+++ b/packages/nonworking/xmlbench/xmlbench_1.3.1.bb
@@ -0,0 +1,16 @@
+MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
+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.