wok rev 24285

updated slurm (0.3.3 -> 0.4.3)
author Hans-G?nter Theisgen
date Thu Jan 13 13:36:16 2022 +0100 (2022-01-13)
parents 595388de14c6
children c1b9da2fd6c7
files slurm/description.txt slurm/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/slurm/description.txt	Thu Jan 13 13:36:16 2022 +0100
     1.3 @@ -0,0 +1,12 @@
     1.4 +Slurm started as a FreeBSD port of the Linux ppp link monitor called
     1.5 +pppstatus by Gabriel Montenegro.
     1.6 +Hendrik Scholz ripped of the ppp dependent parts and the email checks
     1.7 +to turn in into a generic network load monitor for *BSD, Linux, HP-UX
     1.8 +and Solaris.
     1.9 +
    1.10 +Features:
    1.11 +- "realtime" traffic statistics
    1.12 +- three graph modes: combined RX and TX and two split views
    1.13 +- can monitor any network device
    1.14 +- curses ASCII graphics
    1.15 +- ASCII theme support
     2.1 --- a/slurm/receipt	Thu Jan 13 07:54:46 2022 +0100
     2.2 +++ b/slurm/receipt	Thu Jan 13 13:36:16 2022 +0100
     2.3 @@ -1,33 +1,33 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="slurm"
     2.7 -VERSION="0.3.3"
     2.8 +VERSION="0.4.3"
     2.9  CATEGORY="network"
    2.10  SHORT_DESC="Realtime network interface monitor."
    2.11  MAINTAINER="paul@slitaz.org"
    2.12  LICENSE="GPL2"
    2.13 +WEB_SITE="https://github.com/mattthias/slurm/wiki"
    2.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.15 -WEB_SITE="https://github.com/mattthias/slurm/wiki"
    2.16 -WGET_URL="http://www.wormulon.net/slurm/$TARBALL"
    2.17 +WGET_URL="https://github.com/mattthias/$PACKAGE/archive/upstream/$VERSION.tar.gz"
    2.18  
    2.19  DEPENDS="ncurses"
    2.20 -BUILD_DEPENDS="ncurses-dev automake autoconf"
    2.21 +BUILD_DEPENDS="ncurses-dev cmake"
    2.22  
    2.23  # Rules to configure and make the package.
    2.24  compile_rules()
    2.25  {
    2.26 -	sed -i 's|lncurses|& -ltinfo|' *
    2.27 -	./configure \
    2.28 -		--prefix=/usr \
    2.29 -		--infodir=/usr/share/info \
    2.30 -		--mandir=/usr/share/man \
    2.31 -		$CONFIGURE_ARGS &&
    2.32 -	make && make DESTDIR=$DESTDIR install
    2.33 +# 0.3.3	sed -i 's|lncurses|& -ltinfo|' *
    2.34 +	sed -i 's|slurm ncurses|slurm ncurses tinfo|'	CMakeLists.txt
    2.35 +	mkdir	_build &&
    2.36 +	cd	_build &&
    2.37 +	cmake	..			\
    2.38 +		-D CMAKE_INSTALL_PREFIX=/usr &&
    2.39 +	make &&
    2.40 +	make install DESTDIR=$DESTDIR
    2.41  }
    2.42  
    2.43  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.44  genpkg_rules()
    2.45  {
    2.46 -	mkdir -p $fs/usr
    2.47 -	cp -a $install/usr/bin $fs/usr
    2.48 +	cook_copy_folders	bin
    2.49  }