slurm-wlm: do not use _version var (confuses xbps-checkvers).

This commit is contained in:
Juan RP 2016-04-20 09:55:51 +02:00
parent ddc7f20246
commit 40d54fdf86
1 changed files with 4 additions and 4 deletions

View File

@ -1,9 +1,9 @@
# Template file for 'slurm-wlm'
pkgname=slurm-wlm
version=15.08.10.1
revision=1
_version="${version//./-}"
wrksrc="slurm-slurm-${_version}"
revision=2
_distver="${version//./-}"
wrksrc="slurm-slurm-${_distver}"
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="perl cgit python pkg-config"
@ -14,7 +14,7 @@ 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"
distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_distver}.tar.gz"
checksum=96e0a4604e8903cd086e5adf7dbfbab3e2ac1d750e1bd4695afd008811cb30b6
case "${XBPS_TARGET_MACHINE}" in
# Undefined: inet_nsap_addr and getgrent_r