From a25fc5c360e92d1038234fd043351430e4b7d09e Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Mon, 17 Aug 2015 12:29:54 +0200 Subject: [PATCH] slurm: update to 0.4.3. --- srcpkgs/slurm/template | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/srcpkgs/slurm/template b/srcpkgs/slurm/template index 894dbe7872e..7ae57c1392a 100644 --- a/srcpkgs/slurm/template +++ b/srcpkgs/slurm/template @@ -1,15 +1,17 @@ # Template file for 'slurm' pkgname=slurm -version=0.4.2 -revision=2 +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 " license="GPL-2" homepage="https://github.com/mattthias/slurm" distfiles="https://github.com/mattthias/slurm/archive/upstream/${version}.tar.gz" -checksum=8a28e11650928d87a907f9b154f6efd1ad5854cdc56a528da2e02e756e0aa58e +checksum=b960c0d215927be1d02c176e1b189321856030226c91f840284886b727d3a3ac post_extract() { sed -i '//d' os.h @@ -17,13 +19,6 @@ post_extract() { sed -i 's,,,g' os.h } -do_build() { - ${CC} ${CFLAGS} -o slurm slurm.c ${LDFLAGS} \ - -D_HAVE_NCURSES -D_HAVE_NCURSES_COLOR -D__Debian__ -lncurses -} -do_install() { - vbin slurm +post_install() { vman slurm.1 - vmkdir usr/share/slurm - vcopy "themes/*" usr/share/slurm }