wok view slurm/receipt @ rev 25794
created recipe for exo-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago) |
parents | 9773cbef7450 |
children |
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 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;s|upstream%2F||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 # 0.3.3 sed -i 's|lncurses|& -ltinfo|' *
29 # sed -i 's|slurm ncurses|slurm ncurses tinfo|' CMakeLists.txt
31 meson _build \
32 --prefix=/usr &&
33 ninja -C _build &&
34 ninja -C _build install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cook_copy_folders bin
41 }