wok annotate 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 |
rev | line source |
---|---|
paul@3439 | 1 # SliTaz package receipt. |
paul@3439 | 2 |
paul@3439 | 3 PACKAGE="slurm" |
Hans-G?nter@25311 | 4 VERSION="0.4.4" |
paul@3439 | 5 CATEGORY="network" |
paul@3439 | 6 SHORT_DESC="Realtime network interface monitor." |
paul@3439 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15593 | 8 LICENSE="GPL2" |
Hans-G?nter@24285 | 9 WEB_SITE="https://github.com/mattthias/slurm/wiki" |
Hans-G?nter@25311 | 10 REPOLOGY="slurm-monitor" |
Hans-G?nter@25311 | 11 |
paul@3439 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@24285 | 13 WGET_URL="https://github.com/mattthias/$PACKAGE/archive/upstream/$VERSION.tar.gz" |
paul@3439 | 14 |
pascal@15593 | 15 DEPENDS="ncurses" |
Hans-G?nter@25311 | 16 BUILD_DEPENDS="meson ncurses-dev" |
pascal@15593 | 17 |
pascal@24288 | 18 current_version() |
pascal@24288 | 19 { |
pascal@24288 | 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24288 | 21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24288 | 22 } |
pascal@24288 | 23 |
paul@3439 | 24 # Rules to configure and make the package. |
paul@3439 | 25 compile_rules() |
paul@3439 | 26 { |
Hans-G?nter@24285 | 27 # 0.3.3 sed -i 's|lncurses|& -ltinfo|' * |
Hans-G?nter@25311 | 28 # sed -i 's|slurm ncurses|slurm ncurses tinfo|' CMakeLists.txt |
Hans-G?nter@25311 | 29 |
Hans-G?nter@25311 | 30 meson _build \ |
Hans-G?nter@25311 | 31 --prefix=/usr && |
Hans-G?nter@25311 | 32 ninja -C _build && |
Hans-G?nter@25311 | 33 ninja -C _build install |
paul@3439 | 34 } |
paul@3439 | 35 |
paul@3439 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@3439 | 37 genpkg_rules() |
paul@3439 | 38 { |
Hans-G?nter@24285 | 39 cook_copy_folders bin |
paul@3439 | 40 } |