New package: slurm-0.4.2
This commit is contained in:
parent
5cfeb05598
commit
6db8b81957
1 changed files with 25 additions and 0 deletions
25
srcpkgs/slurm/template
Normal file
25
srcpkgs/slurm/template
Normal file
|
@ -0,0 +1,25 @@
|
|||
# Template file for 'slurm'
|
||||
pkgname=slurm
|
||||
version=0.4.2
|
||||
revision=1
|
||||
wrksrc="${pkgname}-upstream-${version}"
|
||||
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"
|
||||
update_pattern="upstream/\K[\d.]+\d"
|
||||
distfiles="https://github.com/mattthias/slurm/archive/upstream/${version}.tar.gz"
|
||||
checksum=8a28e11650928d87a907f9b154f6efd1ad5854cdc56a528da2e02e756e0aa58e
|
||||
|
||||
do_build() {
|
||||
${CC} ${CFLAGS} -o slurm slurm.c ${LDFLAGS} \
|
||||
-D_HAVE_NCURSES -D_HAVE_NCURSES_COLOR -D__Debian__ -lncurses
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vbin slurm
|
||||
vman slurm.1
|
||||
vmkdir usr/share/slurm
|
||||
vcopy "themes/*" usr/share/slurm
|
||||
}
|
Loading…
Reference in a new issue