wok view slurm/receipt @ rev 25391
updated usb-modeswitch-data (20170806 -> 20191128)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Aug 01 15:21:41 2022 +0100 (2022-08-01) |
parents | 1df6fa555414 |
children | 0262035dc1e7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="slurm"
4 VERSION="0.4.4"
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 REPOLOGY="slurm-monitor"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/mattthias/$PACKAGE/archive/upstream/$VERSION.tar.gz"
15 DEPENDS="ncurses"
16 BUILD_DEPENDS="meson ncurses-dev"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 # 0.3.3 sed -i 's|lncurses|& -ltinfo|' *
28 # sed -i 's|slurm ncurses|slurm ncurses tinfo|' CMakeLists.txt
30 meson _build \
31 --prefix=/usr &&
32 ninja -C _build &&
33 ninja -C _build install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cook_copy_folders bin
40 }