wok annotate slurm/receipt @ rev 24486

updated djvulibre and djvulibre-dev (3.5.27 -> 3.5.28)
author Hans-G?nter Theisgen
date Fri Feb 18 16:54:18 2022 +0100 (2022-02-18)
parents 819174745144
children 9773cbef7450
rev   line source
paul@3439 1 # SliTaz package receipt.
paul@3439 2
paul@3439 3 PACKAGE="slurm"
Hans-G?nter@24285 4 VERSION="0.4.3"
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"
paul@3439 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@24285 11 WGET_URL="https://github.com/mattthias/$PACKAGE/archive/upstream/$VERSION.tar.gz"
paul@3439 12
pascal@15593 13 DEPENDS="ncurses"
Hans-G?nter@24285 14 BUILD_DEPENDS="ncurses-dev cmake"
pascal@15593 15
pascal@24288 16 current_version()
pascal@24288 17 {
pascal@24288 18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24288 19 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24288 20 }
pascal@24288 21
paul@3439 22 # Rules to configure and make the package.
paul@3439 23 compile_rules()
paul@3439 24 {
Hans-G?nter@24285 25 # 0.3.3 sed -i 's|lncurses|& -ltinfo|' *
Hans-G?nter@24285 26 sed -i 's|slurm ncurses|slurm ncurses tinfo|' CMakeLists.txt
Hans-G?nter@24285 27 mkdir _build &&
Hans-G?nter@24285 28 cd _build &&
Hans-G?nter@24285 29 cmake .. \
Hans-G?nter@24285 30 -D CMAKE_INSTALL_PREFIX=/usr &&
Hans-G?nter@24285 31 make &&
Hans-G?nter@24285 32 make install DESTDIR=$DESTDIR
paul@3439 33 }
paul@3439 34
paul@3439 35 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@3439 36 genpkg_rules()
paul@3439 37 {
Hans-G?nter@24285 38 cook_copy_folders bin
paul@3439 39 }