# HG changeset patch # User Hans-G?nter Theisgen # Date 1642077376 -3600 # Node ID 8191747451447422888bd17ed0d19abb3eaa0687 # Parent 595388de14c6c51fecbd71d5da8abd8323ce3a2b updated slurm (0.3.3 -> 0.4.3) diff -r 595388de14c6 -r 819174745144 slurm/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slurm/description.txt Thu Jan 13 13:36:16 2022 +0100 @@ -0,0 +1,12 @@ +Slurm started as a FreeBSD port of the Linux ppp link monitor called +pppstatus by Gabriel Montenegro. +Hendrik Scholz ripped of the ppp dependent parts and the email checks +to turn in into a generic network load monitor for *BSD, Linux, HP-UX +and Solaris. + +Features: +- "realtime" traffic statistics +- three graph modes: combined RX and TX and two split views +- can monitor any network device +- curses ASCII graphics +- ASCII theme support diff -r 595388de14c6 -r 819174745144 slurm/receipt --- a/slurm/receipt Thu Jan 13 07:54:46 2022 +0100 +++ b/slurm/receipt Thu Jan 13 13:36:16 2022 +0100 @@ -1,33 +1,33 @@ # SliTaz package receipt. PACKAGE="slurm" -VERSION="0.3.3" +VERSION="0.4.3" CATEGORY="network" SHORT_DESC="Realtime network interface monitor." MAINTAINER="paul@slitaz.org" LICENSE="GPL2" +WEB_SITE="https://github.com/mattthias/slurm/wiki" TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="https://github.com/mattthias/slurm/wiki" -WGET_URL="http://www.wormulon.net/slurm/$TARBALL" +WGET_URL="https://github.com/mattthias/$PACKAGE/archive/upstream/$VERSION.tar.gz" DEPENDS="ncurses" -BUILD_DEPENDS="ncurses-dev automake autoconf" +BUILD_DEPENDS="ncurses-dev cmake" # Rules to configure and make the package. compile_rules() { - sed -i 's|lncurses|& -ltinfo|' * - ./configure \ - --prefix=/usr \ - --infodir=/usr/share/info \ - --mandir=/usr/share/man \ - $CONFIGURE_ARGS && - make && make DESTDIR=$DESTDIR install +# 0.3.3 sed -i 's|lncurses|& -ltinfo|' * + sed -i 's|slurm ncurses|slurm ncurses tinfo|' CMakeLists.txt + mkdir _build && + cd _build && + cmake .. \ + -D CMAKE_INSTALL_PREFIX=/usr && + make && + make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr - cp -a $install/usr/bin $fs/usr + cook_copy_folders bin }