PKGNAME=libstoragemgmt
PKGSEC=libs
PKGDEP="glibc libconfig libxml2 openssl perl pyudev pywbem six sqlite systemd yajl ledmon"
BUILDDEP="check chrpath pbr"
PKGDES="Storage array management library"

AUTOTOOLS_AFTER=(
	"--with-python3"
	"PYTHON=/usr/bin/python3"
)

# NOTE valgrind is not available on the following architectures yet.
# Memory leak tests requires valgrind.
AUTOTOOLS_AFTER__LOONGARCH64=(
	"${AUTOTOOLS_AFTER[@]}"
	"--without-mem-leak-test"
)

AUTOTOOLS_AFTER__LOONGARCH64_NOSIMD=(
	"${AUTOTOOLS_AFTER[@]}"
	"--without-mem-leak-test"
)

AUTOTOOLS_AFTER__RISCV64=(
	"${AUTOTOOLS_AFTER[@]}"
	"--without-mem-leak-test"
)
