aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/nonworking/xmlbench/xmlbench_1.3.1.bb
blob: 28083e142cf345bd845764533a4dc903d3221860 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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.

SRC_URI[md5sum] = "27bd94a173d2b64ee3d2c8adb2a1d8b7"
SRC_URI[sha256sum] = "ea55b7ccc01bee42fd90b612809df21877440b805c9c76a0b704c22d79363dca"