# SliTaz package receipt. PACKAGE="slurm" VERSION="0.4.4" CATEGORY="network" SHORT_DESC="Realtime network interface monitor." MAINTAINER="paul@slitaz.org" LICENSE="GPL2" WEB_SITE="https://github.com/mattthias/slurm/wiki" REPOLOGY="slurm-monitor" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/mattthias/$PACKAGE/archive/upstream/$VERSION.tar.gz" DEPENDS="ncurses" BUILD_DEPENDS="meson ncurses-dev" current_version() { wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { # 0.3.3 sed -i 's|lncurses|& -ltinfo|' * # sed -i 's|slurm ncurses|slurm ncurses tinfo|' CMakeLists.txt meson _build \ --prefix=/usr && ninja -C _build && ninja -C _build install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cook_copy_folders bin }