void-packages/srcpkgs/sysbench/template

27 lines
793 B
Bash

# Template file for 'sysbench'
pkgname=sysbench
version=1.0.19
revision=1
build_style=gnu-configure
configure_args="
--with-mysql
--with-postgresql
--with-system-ck
--with-system-luajit"
hostmakedepends="automake libtool pkg-config"
makedepends="LuaJIT-devel ck-devel libmariadbclient-devel libressl-devel
postgresql-libs-devel zlib-devel"
short_desc="Scriptable database and system performance benchmark"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/akopytov/sysbench"
distfiles="https://github.com/akopytov/sysbench/archive/${version}.tar.gz"
checksum=39cde56b58754d97b2fe6a1688ffc0e888d80c262cf66daee19acfb2997f9bdd
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
fi
pre_configure() {
autoreconf -fi
}