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