void-packages/srcpkgs/sysbench/template
2019-12-11 18:48:33 +01:00

29 lines
816 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
case "$XBPS_TARGET_MACHINE" in
ppc64*) ;;
armv6*|ppc*) makedepends+=" libatomic-devel" ;;
esac
pre_configure() {
autoreconf -fi
}