void-packages/srcpkgs/sysbench/template

30 lines
816 B
Bash

# Template file for 'sysbench'
pkgname=sysbench
version=1.0.18
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=c679b285e633c819d637bdafaeacc1bec13f37da5b3357c7e17d97a71bf28cb1
case "$XBPS_TARGET_MACHINE" in
ppc64*) ;;
armv6*|ppc*) makedepends+=" libatomic-devel" ;;
esac
pre_configure() {
autoreconf -fi
}