void-packages/srcpkgs/slurm/template
2015-08-31 13:56:25 +02:00

24 lines
696 B
Bash

# Template file for 'slurm'
pkgname=slurm
version=0.4.3
revision=1
wrksrc="${pkgname}-upstream-${version}"
build_style="cmake"
hostmakedepends="cmake"
makedepends="ncurses-devel"
short_desc="Yet another network load monitor"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="https://github.com/mattthias/slurm"
distfiles="https://github.com/mattthias/slurm/archive/upstream/${version}.tar.gz"
checksum=b960c0d215927be1d02c176e1b189321856030226c91f840284886b727d3a3ac
post_extract() {
sed -i '/<sys\/sysctl.h>/d' os.h
sed -i 's,<net/ppp_defs.h>,<linux/ppp_defs.h>,g' os.h
sed -i 's,<net/if_ppp.h>,<linux/if_ppp.h>,g' os.h
}
post_install() {
vman slurm.1
}