xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-benchmark/sysbench/sysbench_0.4.12.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1SUMMARY = "System performance benchmark"
2HOMEPAGE = "http://github.com/akopytov/sysbench"
3SECTION = "console/tests"
4LICENSE = "GPL-2.0-only"
5LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
6
7inherit autotools
8
9# The project has moved from Sourceforge to Launchpad, to Github. Use the source tarball from
10# Launchpad until the next release is available from Github.
11SRC_URI = "https://launchpad.net/ubuntu/+archive/primary/+files/${BPN}_${PV}.orig.tar.gz \
12           file://0001-Adding-volatile-modifier-to-tmp-variable-in-memory-t.patch \
13           "
14
15SRC_URI[md5sum] = "3a6d54fdd3fe002328e4458206392b9d"
16SRC_URI[sha256sum] = "83fa7464193e012c91254e595a89894d8e35b4a38324b52a5974777e3823ea9e"
17
18PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'largefile', d)}"
19PACKAGECONFIG[largefile] = "--enable-largefile,--disable-largefile,,"
20PACKAGECONFIG[aio] = "--enable-aio,--disable-aio,libaio,"
21PACKAGECONFIG[mysql] = "--with-mysql \
22                        --with-mysql-includes=${STAGING_INCDIR}/mysql \
23                        --with-mysql-libs=${STAGING_LIBDIR}, \
24                        --without-mysql,mysql5"
25
26do_configure:prepend() {
27    touch ${S}/NEWS ${S}/AUTHORS
28}
29