wok diff slurm/receipt @ 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 6135577f4d08
children 1df6fa555414
line diff
     1.1 --- a/slurm/receipt	Sat Jan 26 12:26:47 2019 +0100
     1.2 +++ b/slurm/receipt	Thu Jan 13 13:36:16 2022 +0100
     1.3 @@ -1,33 +1,33 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="slurm"
     1.7 -VERSION="0.3.3"
     1.8 +VERSION="0.4.3"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="Realtime network interface monitor."
    1.11  MAINTAINER="paul@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 +WEB_SITE="https://github.com/mattthias/slurm/wiki"
    1.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 -WEB_SITE="https://github.com/mattthias/slurm/wiki"
    1.16 -WGET_URL="http://www.wormulon.net/slurm/$TARBALL"
    1.17 +WGET_URL="https://github.com/mattthias/$PACKAGE/archive/upstream/$VERSION.tar.gz"
    1.18  
    1.19  DEPENDS="ncurses"
    1.20 -BUILD_DEPENDS="ncurses-dev automake autoconf"
    1.21 +BUILD_DEPENDS="ncurses-dev cmake"
    1.22  
    1.23  # Rules to configure and make the package.
    1.24  compile_rules()
    1.25  {
    1.26 -	sed -i 's|lncurses|& -ltinfo|' *
    1.27 -	./configure \
    1.28 -		--prefix=/usr \
    1.29 -		--infodir=/usr/share/info \
    1.30 -		--mandir=/usr/share/man \
    1.31 -		$CONFIGURE_ARGS &&
    1.32 -	make && make DESTDIR=$DESTDIR install
    1.33 +# 0.3.3	sed -i 's|lncurses|& -ltinfo|' *
    1.34 +	sed -i 's|slurm ncurses|slurm ncurses tinfo|'	CMakeLists.txt
    1.35 +	mkdir	_build &&
    1.36 +	cd	_build &&
    1.37 +	cmake	..			\
    1.38 +		-D CMAKE_INSTALL_PREFIX=/usr &&
    1.39 +	make &&
    1.40 +	make install DESTDIR=$DESTDIR
    1.41  }
    1.42  
    1.43  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.44  genpkg_rules()
    1.45  {
    1.46 -	mkdir -p $fs/usr
    1.47 -	cp -a $install/usr/bin $fs/usr
    1.48 +	cook_copy_folders	bin
    1.49  }