SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "slurm"

# 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"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    sed '/tag\//!d;s|.*tag/v*||;s|".*||;s|upstream%2F||;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
}
5935 packages and 845883 files in cooking database (Thu Jun 27 00:01:54 2024)