wok view 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 source
1 # SliTaz package receipt.
3 PACKAGE="slurm"
4 VERSION="0.4.3"
5 CATEGORY="network"
6 SHORT_DESC="Realtime network interface monitor."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/mattthias/slurm/wiki"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/mattthias/$PACKAGE/archive/upstream/$VERSION.tar.gz"
13 DEPENDS="ncurses"
14 BUILD_DEPENDS="ncurses-dev cmake"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 # 0.3.3 sed -i 's|lncurses|& -ltinfo|' *
20 sed -i 's|slurm ncurses|slurm ncurses tinfo|' CMakeLists.txt
21 mkdir _build &&
22 cd _build &&
23 cmake .. \
24 -D CMAKE_INSTALL_PREFIX=/usr &&
25 make &&
26 make install DESTDIR=$DESTDIR
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cook_copy_folders bin
33 }