# Template file for 'slurm-wlm'
pkgname=slurm-wlm
version=15.08.8
revision=1
_version="${version//./-}-1"
wrksrc="slurm-slurm-${_version}"
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="perl cgit python pkg-config"
# XXX: ofed, DataWarp, netloc, freeipmi, blcr
makedepends="munge-devel lua-devel pam-devel libressl-devel gtk+-devel
 ncurses-devel readline-devel libmysqlclient-devel json-c-devel libhwloc-devel"
short_desc="Workload manager for Linux clusters of all sizes"
maintainer="Toyam Cox <Vaelatern@gmail.com>"
license="GPL-2"
homepage="http://slurm.schedmd.com/slurm.html"
distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_version}.tar.gz"
checksum=b4ad4fa35b5b2d45efb978cb765c28a92d8b8bceb25bcf2c5ea28386e79052f8
case "${XBPS_TARGET_MACHINE}" in
	*-musl) broken="https://travis-ci.org/voidlinux/void-packages/jobs/106121691";;
esac
if [ -z "${CROSS_BUILD}" ]; then
	# The below at time of writing can not be cross compiled
	makedepends+=" rrdtool-devel hdf5-devel libnuma-devel"
fi
