32 lines
877 B
Bash
32 lines
877 B
Bash
# Template file for 'sysbench'
|
|
pkgname=sysbench
|
|
version=1.0.20
|
|
revision=2
|
|
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 openssl-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=e8ee79b1f399b2d167e6a90de52ccc90e52408f7ade1b9b7135727efe181347f
|
|
patch_args=-Np0
|
|
|
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
|
makedepends+=" libatomic-devel"
|
|
fi
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
|
export LIBS="-latomic"
|
|
fi
|
|
}
|