void-packages/srcpkgs/slurm/template

19 lines
596 B
Bash

# Template file for 'slurm'
pkgname=slurm
version=0.4.4
revision=1
build_style="meson"
makedepends="ncurses-devel"
short_desc="Yet another network load monitor"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/mattthias/slurm"
distfiles="https://github.com/mattthias/slurm/archive/upstream/${version}.tar.gz"
checksum=2f846c9aa16f86cc0d3832c5cd1122b9d322a189f9e6acf8e9646dee12f9ac02
post_patch() {
vsed -i '/<sys\/sysctl.h>/d' os.h
vsed -i 's,<net/ppp_defs.h>,<linux/ppp_defs.h>,g' os.h
vsed -i 's,<net/if_ppp.h>,<linux/if_ppp.h>,g' os.h
}