wok view slurm/receipt @ rev 24669

updated inxi (3.0.37 -> 3.3.13)
author Hans-G?nter Theisgen
date Fri Mar 11 16:49:52 2022 +0100 (2022-03-11)
parents 819174745144
children 9773cbef7450
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 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 # 0.3.3 sed -i 's|lncurses|& -ltinfo|' *
26 sed -i 's|slurm ncurses|slurm ncurses tinfo|' CMakeLists.txt
27 mkdir _build &&
28 cd _build &&
29 cmake .. \
30 -D CMAKE_INSTALL_PREFIX=/usr &&
31 make &&
32 make install DESTDIR=$DESTDIR
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cook_copy_folders bin
39 }